Jump to content
xisto Community
Sign in to follow this  
Johnnio

Encryption Algorithms

Recommended Posts

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.