synacktraa / rot

Rot Cipher Encryption and Decryption Algorithm.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!

About

Rot Cipher Encryption and Decryption Algorithm.

License:MIT License


Languages

Language:C 100.0%