The Delphi Cryptography Page

Welcome to the Delphi Cryptography Page! I hope to make this page the best cryptography resource for Delphi with no export restrictions, so if you have any components, units, etc you wish to put on this site or have a comment or suggestion just email me at davebarton@bigfoot.com. All downloads are freeware but some of the algorithm implementations require licensing from their respective owners. I hope you find something useful here. My PGP key is available here.

News

Date Event

7 June 2000
DCPcrypt v2 BETA released. Contains additional ciphers and hashes plus various other alterations. Linux Free Pascal compiler support added (experimental x86 only).
10 Dec 99 Delphi 5 update for DCPcrypt.
25 Mar 99 DCPcrypt update to v1.31. Includes Cast-256 endianess fix.
23 Mar 99 DCPcrypt has been updated, addition of Cast-256 and combined DCPcrypt with the seperate units. You can now compile the implementations in either component form or procedure form. Now compatible with Delphi 1
14 Feb 99 DCPcrypt has been updated, two bug fixes plus addition of the Haval hash algorithm. License also changed.
21 Jan 99 The Crypto Library from Delphi SkunkWorks has been added.
20 Jan 99 Fixed bug in TDCP_rmd160
18 Jan 99 Initial release of DCPcrypt - a collection of cryptographic components
8 Dec 98 Any body for CAST-128?
8 Dec 98 Fixed the Twofish bug which prevents compliation in D2/3
28 Nov 98 Rijndael is the latest addition...
25 Nov 98 Twofish is here at long last!
25 Nov 98 The Delphi Cryptography Page has moved.

DCPcrypt

DCPcrypt is a collection of cryptographic components all derived from one base class (TDCP_blockcipher for block ciphers and TDCP_hash for hash algorithms). Since they are all derived from one common ancestor it makes it very easy to change from one algorithm to another, also there are speed gains for some of the algorithms. If you use DCPcrypt you do not need any additional units. DCPcrypt currently contains the following algorithms;

DCPcrypt now works with Delphi 1,2,3,4 and possibly C++ Builder 3,4.

Block Ciphers: Blowfish, Cast-128, Cast-256, Gost, IDEA, Mars, Misty1, RC2, RC5, RC6, Rijndael, Twofish.

Hash Algorithms: Haval, RipeMD-160, SHA1.

I have now combined DCPcrypt with the seperate unit implementations so that you can now compile DCPcrypt either in component form or in procedure form. Also I have written UU and Base64 encoding units for use with string encoding to ensure that all characters are printable. I'm not sure if they match up to the standards but they are good enough implementations just to ensure no non-printable characters.

Download DCPcrypt (v1.31) with demo program (150,193 bytes).

Download Delphi 5 update for DCPcrypt v1.31 (7,647 bytes).

Download DCPcrypt v2 BETA (188,003 bytes) Warning: There is practically zero documentation included (I haven't written it yet) plus probably a bug or two, so only download if you have used DCPcrypt v1.xx before and have an idea how it works (not that v1.xx has much more documentation but...)

Asymmetric Encryption Algorithms

I haven't currently implemented any public key algorithms but there is a selection implemented at http://ace.ulyssis.student.kuleuven.ac.be/~triade/GInt/index.htm by Walied Othman along with a huge integer library.

Other Symmetric Encryption Algorithms Implementations

You can now also download the Crypto Library (from Delphi SkunkWorks) here (270kb). This library contains MD5, RC4, RC5, IDEA, Blowfish and DES.

Last Modified 8 June 2000. Copyright D.Barton 1998 - 2000.