XOR encryption implementations for several languages.
Go to file
2013-10-09 14:39:30 -04:00
C Added C implementation 2013-10-06 15:26:38 -04:00
C# Added C# implementation 2013-10-06 20:15:32 -04:00
C++ Moved main.cpp to C++ folder 2013-10-06 14:35:50 -04:00
Dart Added Dart implementation 2013-10-06 19:50:34 -04:00
Groovy Fixing indentation 2013-10-06 16:44:44 -04:00
Java (Android compatible) Added Java/Android implementation 2013-10-06 14:48:35 -04:00
JavaScript Added JavaScript implementationg 2013-10-06 16:13:22 -04:00
Objective-C Added char key commet to ObjectiveC implementation 2013-10-06 16:13:51 -04:00
Python Fixed python to not use a hard coded K char, and to actually use the key array 2013-10-06 16:03:27 -04:00
test Began implementation of unit tests in Python 2013-10-09 14:39:30 -04:00
.gitignore Added Java/Android implementation 2013-10-06 14:48:35 -04:00
README.md Added C# implementation 2013-10-06 20:15:32 -04:00

XOR Encryption

Simple implementation of XOR Encryption/Decrypting in various languages, including:

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.

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.

For an in-depth explanation of the code, check out KyleWBanks.com.