https://github.com/jrie/xor
xOR's Encryption/Decryption
https://github.com/jrie/xor
basic decryption dice encryption not-for-production polibius-square-cipher testing
Last synced: over 1 year ago
JSON representation
xOR's Encryption/Decryption
- Host: GitHub
- URL: https://github.com/jrie/xor
- Owner: jrie
- Created: 2018-09-29T19:02:35.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-10-23T13:41:30.000Z (over 1 year ago)
- Last Synced: 2025-02-03T05:28:33.633Z (over 1 year ago)
- Topics: basic, decryption, dice, encryption, not-for-production, polibius-square-cipher, testing
- Language: C
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# xOR
This is xOR's encryption and decryption algorithm for textual information.
It's just a example and work study for myself.
Thank you **xOR** for your great tutorial!
All credits go to him, I just sinked it into code.
For details, in German, visit:
[https://ngb.to/t/26584-Workshop-Hand-Verschlüsselung](https://ngb.to/threads/xors-workshop-hand-verschl%C3%BCsslung-in-code.27001/)
## Usage
Make: `make`
Run encrypt on *input.txt*, output to *encrypted.txt*:
`./xor -e pepperandsalt -v cucumbersalat withoutTomato -iinput.txt -oencrypted.txt`
Run decrypt:
`./xor -d pepperandsalt -v cucumbersalat withoutTomato -iencrypted.txt -odecrypted.txt`
Keybase is *pepperandsalt* dice one key *cucumbersalat* and dice two password *withoutTomato*.
Please notice that everything becomes lowercased and punctuation and such become stripped.