Cryptography Libraries Delphi 2010

You can recommend the Delphi open source crypto library that works with Delphi 2006, Delphi 2009 and Delphi 2010

Algorithms need : DES, MD5, SHA-1

+6
source share
7 answers

Here is a short list of libraries that I used both before and after D2009:

  • TPLockbox (I am using an unofficial updated version. Although there is a recent official (?) Update.)
  • DEC v5.2 (highly recommend)
  • DCPCrypt (Updated recently)
+9
source

The latest version of LockBox compiled for Delphi 2010 is available on the songbeamer website. Nick Hodges was recently appointed community administrator for Turbo Power projects, and I expected the speedy source repositories to be updated. It supports all the encryption methods you described and is very easy to implement. The codebase on SongBeamer will work through Delphi 2006, 2009 and 2010, since I used it for everyone without any problems.

Because the project was once commercial, the documentation (available at SourceForge ) is outstanding.

+4
source

It does not meet all the requirements outlined above, but take a look at Turbopower Lockbox .

It used to be a library of commercial components, but when Turbopower shut down, they made all of their open source products. It definitely worked with C ++ builder 5 and supports RSA, MD5, SHA-1, DES, triple DES, Rindjael and digital message signing.

As long as it does not meet all your criteria, it can compile with a little customization and at least become a starting point.

UPDATE - it seems that Sean B. Durkin has accepted the old code base and is busy working on updating it to work with current versions of Delphi.

+2
source

This thread is on the old side, but I will continue and put my vote for the Windows Cryptography API . He does a lot until you can figure out how to do it, but there are numerous examples. I pulled MD5 and SHA-1 from it (along with SHA-256 and SHA-512) and notice that it will do DES encryption (a few examples ).

It is already present on most Windows today, so it should not be different from any other API calls, figuratively. But I thought about such a topic as it might be worth publishing it as an option.

+2
source

ICS includes implementations of DES, MD4, MD5, and SHA-1. http://www.overbyte.be/

+1
source

Based on your stated requirements, I would agree that DCPCrypt is a good choice. But you might also like the OpenSSL library in combination with the M Ferrante import block: http://www.disi.unige.it/person/FerranteM/delphiopenssl/
A few simple changes are needed to work with D2009 / D2010: replacing PChars with PAnsiChar or PByte - but as soon as you do this, you will get the industry standard, open source encryption (including the public / private key), hashing, SSL, etc. . Etc..

0
source

Algorithms: DES, MD5, SHA-1

Although this is not the main purpose of this library, you can use these classes:

0
source

All Articles