Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Rot Cipher

Rot Ciphers' encryption and decryption algorithm written in C.

Compile:

gcc rotcipher.c -o rot

Ask For Help:

rot -h

Output:

Usage: rot -s <string> -m (enc|dec) -r <int>     

Options:-
    -s  set data string     
    -m  set mode to encrypt or decrypt the message     
    -r  set rotate value [-1 to print all possibilities]

Encryption:

rot -s "Hack Teh World!" -m enc -r 10

Output:

Rkmu Dor Gybvn!

Decryption:

rot -s "Rkmu Dor Gybvn!" -m dec -r 10 

Output:

Hack Teh World!

Releases

Packages

Contributors

Languages