Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

[VB.NET] RC2 Encryption - Generates random key [Source]

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!
Looks great bro. :D looks like something to learn from if you like VB.NET
Nice work but RC2 isn't very secure as far as I know . There are better alternatives
egain one secure encryptions :) thanks bro .
test this .
Ive been doing this for ages with xor and other encryption methods. Random Key->Write key to bot -> Write encrypted data to bot.

Good to know It can be done in Rc2
Github
Keybase
Shoot me a PM
RC2 and DES are vulnerable to decryption, you should stick with AES or TripleDES which should both still support the GenerateKey method. :]
(Oct 22, 2010 09:30 AM)6e756c6c Wrote:  RC2 and DES are vulnerable to decryption, you should stick with AES or TripleDES which should both still support the GenerateKey method. :]

hey bro,

whats the strong encryptions you recommanded now for actual crypter ?

thanks .
AES hands down, it's fast and very strong.
Wow , this is some nice encryption . Thanks man !
Always PM me for business inquiries.

(Oct 22, 2010 10:04 AM)6e756c6c Wrote:  AES hands down, it's fast and very strong.

thanks aeonhack
search now for take source :)
looks great, this is really nice share mate.
code doesnt work for me :/
Very nice thanks for the source I love encryption sources helps me and others learn.
(Nov 7, 2010 09:12 PM)Toxic Asshole Wrote:  Very nice thanks for the source I love encryption sources helps me and others learn.

Np, you should also take a look at the salted RC2 example here
thanks dude this will work great for my next project.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by wastedcodeineOct 18, 2021 09:04 PM 3 154 Oct 18, 2021 09:04 PM
Last Post: AndroidiOSGameHacks
[C#] by gigajewApr 20, 2018 04:25 AM 2 486 Apr 20, 2018 04:25 AM
Last Post: EZLib
[.NET] by x factor fanAug 7, 2016 11:53 PM 6 257 Aug 7, 2016 11:53 PM
Last Post: x factor fan