Darwinnn / cipher

A simple XOR cipher implementation in C. This one uses only human-readable characters in the cipher, so it's easy to share the encrypted message!.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cipher

A simple XOR cipher implementation in C. This one uses only human-readable characters in the cipher, so it's easy to share the encrypted message!.

Usage:

To encrypt a message, just feed it to stdin:
$ echo "Hello, Github" | ./cipher 12345
Message: Hello, Github
Key: 12345
Encrypted: yW_XZ=2t]AYGQ

It's also possible to decrypt the cipher the same way:
$ echo "yW_XZ=2t]AYGQ" | ./cipher 12345
Message: yW_XZ=2t]AYGQ
Key: 12345
Encrypted: Hello, Github

About

A simple XOR cipher implementation in C. This one uses only human-readable characters in the cipher, so it's easy to share the encrypted message!.


Languages

Language:C 100.0%