XOREncryption/README.md

18 lines
857 B
Markdown
Raw Normal View History

2013-10-06 22:33:50 +04:00
XOR Encryption
2013-10-06 01:59:02 +04:00
==================
2013-10-07 00:15:01 +04:00
Simple implementation of XOR Encryption/Decrypting in various languages, including:
2013-10-07 00:18:01 +04:00
- [C](C/main.c)
- [C++](C++/main.cpp)
2013-10-07 00:18:18 +04:00
- [Java](Java (Android compatible\)/XOREncryption.java)
2013-10-07 00:18:01 +04:00
- [JavaScript](JavaScript/XOREncryption.js)
- [Objective-C](Objective-C/main.m)
- [Python](Python/XOREncryption.py)
2013-10-06 02:02:51 +04:00
2013-10-06 02:03:24 +04:00
This implementation goes beyond the basic single-key model to use multiple keys in a particular sequence, making it that much more difficult to brute-force.
2013-10-06 02:02:51 +04:00
2013-10-07 00:27:29 +04:00
In these examples, I'm encrypting the same string with the same keys in order to keep consistency with the output, and to demonstrate that an encrypted string from a C program will be decryptable in a Java application, etc.
2013-10-07 00:15:01 +04:00
For an in-depth explanation of the code, check out [KyleWBanks.com](http://kylewbanks.com/post/show/Simple-XOR-Encryption-Decryption-in-Cpp).