Johnnio 0 Report post Posted October 11, 2006 I think this is in the correct forum. This includes various encryption algorithms, could come in useful if you want to see how the different algorithms work etc. These are all class modules. - Encryption Algorithms RC4 - Download Blowfish - Download Gost - Download TEA - Download Twofish - Download DES - Download Skipjack - Download Rijndael - Download Serpent - Download - Hash Algorithms MD5 - Download SHA - Download - Compression Huffman - Download Example code on how to work them (using RC4, this will be the exact same as any other algorithm): Public rc4 As New clsRC4Private Sub encrypt_Click ()Dim rc4 As New clsRC4Dim text As Stringtext = clsRC4.EncryptString("encrypt this", "my key", False)encryptedtext.text = textEnd Sub Hopefully you can edit that code up and work, and yes I did this post if you think I copied and pasted. Good luck, and hopefully it helps you! Share this post Link to post Share on other sites
tansqrx 0 Report post Posted October 11, 2006 I took a look at the DES class and I had flashbacks of writing a DES cipher myself. In away the process is straight forward but there are a lot of transformations that you have to do to the keys and message and the code can get big quick.From just a quick glance everything looks really well done but as any security expert will tell you, never trust code that you haven’t verified yourself, especially encryption algorithms. It would take me several days for each algorithm to verify. To whoever did these, good job. I know it was a lot of hard work.An alternate to using these would be to use the built-in classes in the .NET framework. I’m not sure if all of these algorithms are included but I do know all the major ones such as AES, DES, and MD5 are there and work well. Of course this assumes that you have moved your project to .NET. Share this post Link to post Share on other sites
Johnnio 0 Report post Posted October 12, 2006 Yeh, I just uploaded these for people to mess around with, or whatever they want to do with it. Share this post Link to post Share on other sites
sparkx 0 Report post Posted October 12, 2006 I must admit this post is pretty useful. I might use some of the code. What program is this for, C++ or java? Share this post Link to post Share on other sites