-
1 Attachment(s)
Many types of encryption
I found this exemplary example of many types of encryption and 2 compression algo's on devx forums. Thought I'd post it since it's so cool. The included project doesn't seem to work (not included in my post because it contains a .dll - see devx for it), but the individual .cls for each algorithm should work (I've tested twofish). Compile for best speed. I can encrypt a file at about 1MB per second with twofish with (I believe) a 256-bit key. I attached the zip and a link to the post at devx.
http://www.freevbcode.com/ShowCode.Asp?ID=3779
DevX:
"More information: A well compiled archive of 15 popular encryption algorithms (Blowfish, Twofish, Rijndael, Skipjack, Serpent, Gost, RC2, RC4, TEA, DES, 3DES, 3DES112, DESE, CAST5, IDEA), 6 popular one-way hash algorithms (MD2, MD4, MD5, SHA, SHA256, RipeMD) and a huffman compression algorithm. Extremely useful library for use in literally any type of VB project that calls for cryptography. The archive's website is at http://www.verino.com/~fyool2000/crypto/index.html.
Updates in version 2.0 (02/01/03): New features in this library include Base 64 encoding instead of Hexadecimal encoding (which is far more efficient), fixed key initialization functions (that many users complained about), the updated EBCrypt library, a couple CryptoAPI demonstrations from other authors, the inclusion of several classical ciphers, and an HTML page of crypto links."
Included ReadMe.txt:
"Large Archive of Cryptographic Algorithms for VB (v2.0)
By: David Midkiff ([email protected])
This is a very well compiled archive of cryptographic routines for use in the Visual Basic 6+ environments. It includes 18 popular encryption algorithms (Blowfish, IDEA, Triple DES (3DES), DES, DESE, Gost, Skipjack, TEA, Cast5, Serpent-128, Serpent-192, Serpent-256, Rijndael-128, Rijndael-192, Rijndael-256, RC2, RC4, and Twofish), six popular hash algorithms (SHA-1, SHA-256, MD2, MD4, MD5, and RipeMD), and two popular compression/encoding algorithms (Huffman and Base64).
Updates in 2.0:
New features in this library include Base 64 encoding instead of Hexadecimal encoding (which is far more efficient), fixed key initialization functions (that many users complained about), the updated EBCrypt library, a couple CryptoAPI demonstrations from other authors, the inclusion of several classical ciphers, and an HTML page of crypto links."