Encryption/Decrytion Class [VB.NET]

If you have completed an application and wish to share the complete source/project files with everyone then please post it in here. Source-code files only, no tutorials.
3 posts Page 1 of 1
Contributors
User avatar
comathi
Coding God
Coding God
Posts: 1242
Joined: Fri Mar 26, 2010 1:59 pm

Encryption/Decrytion Class [VB.NET]
comathi
Hello guys,

In the spirit of Mad March, I though I would share some code with you, more precisely, an encryption and decrytion class for Visual Basic .NET .

This is the same Class that is used by CryptoNet to encrypt and decrypt Strings.

I had found it a while ago here, and after tweaking it a bit to fit my needs, I was able to implement it in software.

It works very well, and is incredibly easy to implement (about 6 lines of code to either encrypt or decrypt).

Of course, the download is free, but if you feel like it, you can always use the paid download :P

Anyways, enjoy guys! :D

How to use

Once you have added the Simple3DES Class to your project, all you'll need is the following lines of code to make everything work:

Encryption
Code: Select all
Dim plainText As String = "" 'The String you want to encrypt.
    Dim password As String = "" 'The password (key) you'll be using for the encryption.

    Dim wrapper As New Simple3Des(password)
    Dim cipherText As String = wrapper.EncryptData(plainText)
Decryption
Code: Select all
Dim cipherText As String = "" 'The String you want to decrypt.
    Dim password As String = "" 'The password (key) you'll be using for the decryption. (Should be the same as encryption).
    Dim wrapper As New Simple3Des(password)
Dim plainText As String = wrapper.DecryptData(cipherText)
Downloads

Free

This file is hosted off-site.

If you wish to pay for it (thank you, by the way)

This file is hosted off-site.
Filip
Coding Guru
Coding Guru
Posts: 833
Joined: Wed Jan 05, 2011 3:59 pm

Hi nice library.. I'll use it in my chat program for encrypted messages :D

Thanks, rep+
CodenStuff wrote:
Nope, it's just your sick and dirty mind. You sick twisted warped little pervo :D
User avatar
comathi
Coding God
Coding God
Posts: 1242
Joined: Fri Mar 26, 2010 1:59 pm

Thaks, I'm glad it was of use for someone :D
3 posts Page 1 of 1
Return to “Source-Code”