XOREncryption/README.md

21 lines
1001 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)
2013-10-07 04:15:24 +04:00
- [C#](C%23/Main.cs)
2013-10-07 00:18:01 +04:00
- [C++](C++/main.cpp)
2013-10-07 03:50:34 +04:00
- [Dart](Dart/xorencryption.dart)
2013-10-07 00:40:20 +04:00
- [Groovy](Groovy/XOREncryption.groovy)
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 03:50:34 +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 can be decrypted in a Java application, or any combination, so long as the keys remain the same.
2013-10-07 00:27:29 +04:00
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).