1
0
mirror of https://git.code.sf.net/p/lazarus-ccr/dcpcrypt synced 2024-11-18 16:31:48 +02:00
Go to file
Graeme Geldenhuys 14586ed66d Correctly hide the FPC compiler mode - in case Delphi is used
Seeing that other parts of the code already does IFDEF FPC, lets be consistent.
2014-01-17 16:35:13 +00:00
Ciphers Normalise line endings 2014-01-17 15:22:53 +00:00
Docs Normalise line endings 2014-01-17 15:22:53 +00:00
Hashes Normalise line endings 2014-01-17 15:22:53 +00:00
.gitattributes Adds a git attributes file to help manage EOL styles. 2014-01-17 15:21:06 +00:00
.gitignore Adds a git ignore file 2014-01-17 15:24:27 +00:00
CHANGELOG.txt Changelog update and version number update for Lazarus package. 2010-03-26 12:28:42 +02:00
dcp.pas Initial commit. 2009-11-13 16:49:44 +02:00
dcpbase64.pas Normalise line endings 2014-01-17 15:22:53 +00:00
dcpblockciphers.pas Normalise line endings 2014-01-17 15:22:53 +00:00
DCPciphers.lrs Initial commit. 2009-11-13 16:49:44 +02:00
dcpconst.pas Normalise line endings 2014-01-17 15:22:53 +00:00
dcpcrypt2.pas Correctly hide the FPC compiler mode - in case Delphi is used 2014-01-17 16:35:13 +00:00
dcpcrypt_laz.lpk Changelog update and version number update for Lazarus package. 2010-03-26 12:28:42 +02:00
dcpcrypt_laz.pas Added missing unit maintained by Lazarus IDE. 2010-03-26 12:24:24 +02:00
dcpcrypt.lpk bump the point version number to v2.0.4.1 2010-03-26 12:16:01 +02:00
dcpcrypt.pas Initial commit. 2009-11-13 16:49:44 +02:00
DCPhashes.lrs Initial commit. 2009-11-13 16:49:44 +02:00
dcplazarus.pas Initial commit. 2009-11-13 16:49:44 +02:00
dcpreg.pas Initial commit. 2009-11-13 16:49:44 +02:00
Readme.txt Updated the README file. 2014-01-17 15:32:21 +00:00

     =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     =   DCPcrypt Cryptographic Component Library v2.0.4.1     =
     =          Copyright (c) 1999-2003 David Barton           =
     =             http://www.cityinthesky.co.uk/              =
     =               crypto@cityinthesky.co.uk                 =
     =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=    


Introduction:

DCPcrypt is a collection of cryptographic components for the Borland
Delphi(tm), C++ Builder(tm), Kylix(tm) and the Free Pascal programming
languages. The supported versions are Delphi 4, 5, 6, 7, 2005, 
C++ Builder (3?), 4, 5, (6?) and Kylix 1 (untested), 2 and 3 (untested)
and Free Pascal v2.0.4 and later.

Thanks to Manuel C. for the modifications to make DCPcrypt work under
Delphi 2005!

The idea behind DCPcrypt is that it should be possible to "drop in"
any algorithm implementation to replace another with minimum or no
code changes. To aid in this goal all cryptographic components are
descended from one of several base classes, TDCP_cipher for encryption
algorithms and TDCP_hash for message digest algorithms.

DCPcrypt is open source software (released under the MIT license) and
as such there is no charge for inclusion in other software.

This software is OSI Certified Open Source Software.
OSI Certified is a certification mark of the Open Source Initiative.

If you maintain a website then a link to the DCPCrypt wiki page at
http://wiki.lazarus.freepascal.org/DCPcrypt would be great!



What's New:

Changes since....

  * Please see the source code repository history.

Changes since DCPcrypt v2 Beta 2 include

  *  Corrected C++ Builder compilation problem.


Changes since DCPcrypt v2 Beta 1 include

  *  Renamed source code files for hashes and ciphers to DCPxxx.pas

  *  Change the format of Cipher.InitStr so that the hash algorithm
     used to generate the key is explicitly specified. In order to
     get the same functionality as before, use TDCP_sha1.
     e.g. Cipher.InitStr('Hello World',TDCP_sha1);

  *  Block ciphers are now inherited from an intermediate component
     that implements the block size specific chaining mode encryption
     routines.

  *  Remove the internal component registration, it was more hassle
     than it was worth. If there is a demand for this to be put back
     then I might...     

  *  Added the full range of operation modes for Haval. By changing
     the defines at the top of DCPhaval.pas you can specify the
     number of passes and the output hash size.

  *  Added the Tiger hash algorithm (192bit digest).

  *  Changed the name of the file containing TDCP_ripemd160 for 
     consistency to DCPripemd160 from DCPrmd160.

  *  GOST no longer appears on the component palette pending verifying
     what the actual standard is (the code is still included however).

  *  Added the RipeMD-128 hash algorithm (128bit digest).

  *  Added the Serpent block cipher (AES finalist).

  *  Added the SHA-256,384,512 hash algorithms (256, 384, 512bit digest
     respectively).

  *  Added CTR chaining mode to all block ciphers.



Installation:

Free Pascal & Lazarus:

             Please see the following URL:
               http://wiki.lazarus.freepascal.org/DCPcrypt

Delphi:      Open the appropriate package, DCPdelphiX.dpk where X is 
             your version of Delphi (either 4, 5 or 6). Then press the
             install button.

C++ Builder: Create a new design time package and add all the .pas
             files from the DCPcrypt2.zip archive including all those
             in the Ciphers and Hashes subdirectories. Then press the
             install button.

Kylix:       Open the DCPkylix.dpk package and then press the install
             button (note: Kylix 1 users may need to create a new
             package as with C++ Builder as this is a Kylix 2 package).

You may need to add the directory containing DCPcrypt (and the Ciphers
and Hashes subdirectories) to your library search path (found under 
Environment Options).

Once installed you will find two extra pages of components on your 
component palette, namely DCPciphers and DCPhashes. You can now place 
these components onto the form of your application to start using the 
algorithms.



Usage:

See the main html documentation in the Docs subdirectory.



Contact:

I appreciate knowing what DCPcrypt is being used for and also if you 
have any queries or bug reports please email me at crypto@cityinthesky.co.uk. 



DCPcrypt is copyrighted (c) 1999-2003 David Barton.
All trademarks are property of their respective owners.