Skip to content

unixdruid/serpcrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

serpcrypt

Description

Installation

Prerequisites:

sudo apt-get install build-essential libssl-dev

Compiling:

gcc -o serpcrypt serpcrypt.c -lssl -lcrypto

Usage

Encryption:

Pass your values as following: ./serpcrypt -e "$YourText" $YourKey $YourIV

Example:

Input: ./serpcrypt -e "Hello, Serpent Cipher!" abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234 1234567890abcdef1234567890abcdef

Output: Ciphertext (hex): 6fbd1c2f156aba92bff5d6ed63cfbcc9

Decryption:

Pass your values as following: ./serpcrypt -d "$YourCipherText" $YourKey $YourIV

Example:

Input: ./serpcrypt -d "6fbd1c2f156aba92bff5d6ed63cfbcc9" abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234 1234567890abcdef1234567890abcdef

Output: Decrypted text: Hello, Serpent Cipher!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages