XOR encryption implementations for several languages.
Go to file
Paweł Iżycki 3e72905880 Fix F# link
2015-06-23 13:45:50 +02:00
C Added C implementation 2013-10-06 15:26:38 -04:00
C# Add key array comment 2013-10-06 20:16:14 -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
F# F# impl 2015-06-23 13:40:46 +02: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
.gitignore Added Java/Android implementation 2013-10-06 14:48:35 -04:00
LICENSE Added license. 2014-10-27 17:22:31 -04:00
README.md Fix F# link 2015-06-23 13:45:50 +02: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.