Nov 22, 2009

Encryption Algorithms

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Programming > Programming General > BASIC / Visual Basic (.NET)

Encryption Algorithms

Johnnio
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 - [url=http://script-o-matic.net/john/Encryption/Hash Algorithms/clsMD5.cls]Download[/url]
SHA - [url=http://script-o-matic.net/john/Encryption/Hash Algorithms/clsSHA.cls]Download[/url]

- Compression
Huffman - Download


Example code on how to work them (using RC4, this will be the exact same as any other algorithm):
CODE

Public rc4 As New clsRC4

Private Sub encrypt_Click ()
Dim rc4 As New clsRC4
Dim text As String

text = clsRC4.EncryptString("encrypt this", "my key", False)
encryptedtext.text = text
End 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!

 

 

 


Comment/Reply (w/o sign-up)

tansqrx
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.

Comment/Reply (w/o sign-up)

Johnnio
Yeh, I just uploaded these for people to mess around with, or whatever they want to do with it.

Comment/Reply (w/o sign-up)

sparkx
I must admit this post is pretty useful. I might use some of the code. What program is this for, C++ or java?

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : Encryption Algorithms


    Looking for encryption, algorithms

See Also,

*SIMILAR VIDEOS*
Searching Video's for encryption, algorithms
advertisement



Encryption Algorithms

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com