https://github.com/synacktraa/rot
Rot Cipher Encryption and Decryption Algorithm.
https://github.com/synacktraa/rot
c-language caesar-cipher cli-tool cryptology decryption encryption rot-cipher
Last synced: 11 months ago
JSON representation
Rot Cipher Encryption and Decryption Algorithm.
- Host: GitHub
- URL: https://github.com/synacktraa/rot
- Owner: synacktraa
- License: mit
- Created: 2021-11-18T08:15:27.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-03T14:36:07.000Z (over 3 years ago)
- Last Synced: 2025-01-25T22:19:30.744Z (about 1 year ago)
- Topics: c-language, caesar-cipher, cli-tool, cryptology, decryption, encryption, rot-cipher
- Language: C
- Homepage:
- Size: 7.81 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rot Cipher
>Rot Ciphers' encryption and decryption algorithm written in C.
Compile:
```powershell
gcc rotcipher.c -o rot
```
---
Ask For Help:
```powershell
rot -h
```
Output:
```
Usage: rot -s -m (enc|dec) -r
Options:-
-s set data string
-m set mode to encrypt or decrypt the message
-r set rotate value [-1 to print all possibilities]
```
---
## Encryption:
```powershell
rot -s "Hack Teh World!" -m enc -r 10
```
Output:
```
Rkmu Dor Gybvn!
```
---
## Decryption:
```powershell
rot -s "Rkmu Dor Gybvn!" -m dec -r 10
```
Output:
```
Hack Teh World!
```
___