Encryption Algorithms

free web hosting
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!

 

 

 


Reply

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.

Reply

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

Reply

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

Reply


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*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. clsrc4 - 92.56 hr back. (1)
Similar Topics

Keywords : encryption, algorithms

  1. An Absolute Basic Guide To Algorithms For Dummies
    (0)
  2. Cryptainer 448-bit Encryption
    (2)
    QUOTE Cryptainer is a 448-bit encryption system to encrypt your data on hard disk to militaty
    grade encryption. Simply install Cryptainer in your machine set an access password and activate the
    program. The Cryptainer creates a Vitrual Drive which can be accessed from My Computer. When you
    open the drive, a window very similar to Windows Explorer opens and lets your drag the data to be
    encrypted into it from the Explorere and those files are encrypted automatically. Once you close
    the application the Virtual drive disappears from the My Computer. So only the person....
  3. Windows XP Folder Encryption Key ?
    Where is the Windows XP encryption Key saved. (13)
    Does any one know where is the encryption key in Windows XP stored. In other words how can one get
    encryption key. Or how to retrive the data without the encrytion key. By encrypting a file or
    folder, we are converting it to a format that can't be read by other people. A file encryption
    key is added to files or folders that you choose to encrypt. This key is needed to read the file.
    ....
  4. CS Engineers = Programming Engineers?
    Should CS Engineers be qualified to program algorithms? (7)
    Hi there, I would like to start a topic, which probably would be controversial, about whether the
    Computer Sciences Engineers (I mean at the University) should be taught to program or not. This is a
    fact that has been around inside my mind for long time. I think CS-Engs. should have knowledge
    about general programming methodology, but we (yes, I am a CS-Eng.) are not supposed to be just
    programmers... we are data/system/program analysts, designers, etc. I just cannot imagine an
    Architect in a building work, preparing the concrete mixture and putting the tiles, etc. Th....
  5. Interested In Compression Algorithms?
    Here you have a cute code! (5)
    That's a compressor i made during my university practical lessons on information theory,
    it's a text compressor, it's only usefull for texts containing only vocals, but it can
    easily be adapted for the whole alphabet ^^... Good luck with the comment translation!!
    (Catalan and Spanish...) #include #include #include //En argv tenemos: (1)selector de
    compresion/descompresion (2)Tabla de frecuencias (3)Fichero de simbolos // (4)Fichero de salida int
    treureDigitsCodificacio (int*,int*,FILE*,FILE*,int*,int*); void calcularAltBaix (int*,int*,int*,i....
  6. Crack Encryption
    testing my algorithm (11)
    i have coded an encryption alorithm, and am looking to test it before a public release, so i would
    like to challenge everyone to try to crack this QUOTE -""!!1H! J-3*JAZ.+BM8B]CC
    )$.P M-W A;>@.-WZS*T0`-M(V-D$P]D$JU08@ABX6J>PA**(,E.V(N)A"*A\)G:0 >93R
    1I64!XKE&RQ\L;@CU.-YW3O7K@4U ....
  7. Digital Fortress
    A revolutionary encryption technique?? (10)
    Have any of you read Digital Fortress? It's by the same guy who wrote The Da Vinci Vode(Dan
    Brown). If you haven't better get it. It's awesome!! Apart from being a cliffhanger
    it's got a solid base in super-computer's and encryption techniques. A rotating clear text
    pass key may not be viable now but i have another idea that might work. There are plenty of
    encryption software availabe out there. Another thing that changes the file is compression. My idea
    is based on the combination of these two. Lets take a notepad file. I made a file with m....

    1. Looking for encryption, algorithms

Searching Video's for encryption, algorithms
advertisement




Encryption Algorithms



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE