Free Encryption library for Delphi

Bruce McGee picture Bruce McGee · Sep 10, 2009 · Viewed 38.2k times · Source

I'm looking for a free and up to date encryption library for Delphi 2010 that implements RSA and AES (Rijndael).

I want a free library because I plan to write and publish some sample code that will use it.

A Delphi 2010 version of TurboPower LockBox has been posted to the SongBeamer site, that implements both of these, but I'm concerned that it's getting a little old. For example, small RSA key sizes and no new security features for many years.

Update: Is the perception that LockBox is out of date or lacks important features incorrect? Is it still relevant for production development? (Particularly the RSA key sizes)

Answer

Sean B. Durkin picture Sean B. Durkin · Oct 26, 2010

TurboPower LockBox 3.1.0 is now released. It supports:

  • Delphi 2007 and Delphi 2010
  • Unicodestrings for Delphi 2010
  • AES, DES, 3DES, Blowfish and Twofish ciphers
  • A long list of block chaining modes
  • MD5 and SHA1 hashes
  • RSA encryption, decryption, signature and verification
  • Variable length RSA keys - Almost no contraints on the range.
  • D-Unit test code
  • Automatic salting
  • Proper mangement of IV's (in contrast to DCPcrypt)
  • White Box, Free and Open Source
  • 100% visible native source code (no DLL's)

http://sourceforge.net/projects/tplockbox/ and http://lockbox.seanbdurkin.id.au/