An open API service indexing awesome lists of open source software.

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

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.