Download Latest Version StringManipulationFunctions.cpp (2.4 kB)
Email in envelope

Get an email when there's a new version of Software

Home / My Projects / XeroCrypt
Name Modified Size InfoDownloads / Week
Parent folder
XeroCrypt-Python 2014-01-26
XeroCrypt14.zip 2014-01-18 509.1 kB
XeroCrypt12.zip 2014-01-18 525.4 kB
README.txt 2014-01-18 3.2 kB
Totals: 4 Items   1.0 MB 0
XEROCRYPT 1.4 RELEASE NOTES
(February 2012)

XeroCrypt has been a little ongoing project I started some months ago, currently for demonstrating various encryption methods. It’s not suitable (yet) for commercial deployment, but hopefully some people will find the code useful.
The latest release includes the following three modules:
* XOR Encryption
* RSA
* Triple-DES

INSTRUCTIONS
The XeroCrypt14.zip archive, available for download at http://sourceforge.net/projects/m556/files/, contains the project source code, screeshots, a README file and the executable application itself. To run the XeroCrypt application, simply extract the file XeroCrypt.exe and run it like any other executable.

IMPORTING AND EXPORTING DATA
XeroCrypt now enables the user to import and export encrypted text, using the 'Save Message' and 'Load Message' options in a couple of the modules.

THE TRIPLE-DES ENCRYPTION MODULE
This is the first module in this application to use .NET’s cryptographic libraries instead of mathematical operations created from scratch. There are two reasons for this. Visual Basic isn’t so good for ASCII text to binary conversion and mathematical stuff. C++ is better for that.
The number of rounds in DES and its successor also makes coding this module impractical here, when we could instead call existing libraries for performing the operations. The disadvantage of this is the libraries themselves aren’t open source, as any good cryptographic system should be.

THE RSA ENCRYPTION MODULE
Much work needs to be done on this module to enable it to generate random primes and correctly perform the mathematical operations.

THE XOR ENCRYPTION MODULE
This module demonstrates the conversion of ASCII text into a binary plaintext stream and a keystream. These are XORed together to generate the ciphertext stream, which is converted into ASCII ciphertext (the encrypted message).

TO DO
XeroCrypt isn’t a finished product by any means. I’m regularly making improvements and additions to the software.
* The XOR Encryption module works reasonably well, and most bugs have been sorted.
* The RSA Encryption module still needs much work, in particular to turn the RSA algorithm into working VB code, and to enable the module to generate random prime numbers.
* Code to convert ASCII text to binary in the RSA module.
* Although the Triple-DES module encrypts and decrypts messages perfectly, the module shows an error message when the user attempts to decrypt with the wrong key.
* The software application itself is still missing a Random Number Generator (RNG). This should be present in the next release.

THE NEXT STEP
Future versions of XeroCrypt should include proper file encryption and the ability to export encrypted messages, which would make it a useful client-side system for encrypting emails along with any attachments before sending them. Even better, the application currently runs from a USB drive without any installation required, making XeroCrypt a very portable solution. 
In the longer term, I’m hoping to develop this into a full commercially-deployable secure communications and storage system.
Visit https://xerocrypt.wordpress.com or http://beatrixnet.co.uk/xerocrypt.html for more information.
Source: README.txt, updated 2014-01-18