Oct 22, 2010 03:34 AM
(This post was last modified: Oct 22, 2010 03:51 AM by d3c0mpil3r.)
RC2 Encryption
Yesterday I was browsing Cryptography namespace... and took a look at RC2 Symmetric Algorithm. (RC2 Class)
So after reading about it, I was able to write this RC2 class....
If generates a new random key and initialization vector on every time you encrypt. So the output comes out to be different each time you encrypt using it.
Declarations and Functions :
[img]http://ploader.net/files/0dd44a0450d60bc278eab6235dfa22ab.png[/img]
Encrypt and Decrypt :
[img]http://ploader.net/files/28e8c24a200c2e22612bcecd8870069a.png[/img]
Sample :
[img]http://ploader.net/files/38412b69f895ce710e1644c35105e9f9.gif[/img]
And If you don't want to type and just C&P....
Here : Pastebin
Enjoy!



