Skip to content
/ cipher Public
forked from 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!

Notifications You must be signed in to change notification settings

dexXxed/cipher

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

XOR 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]AYGQ5

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!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%