UPD: Rename DCPcrypt to KAScrypt
|
|
@ -49,7 +49,7 @@
|
|||
@echo Clean up components output directories
|
||||
|
||||
@del /Q /S components\chsdet\lib\*.*
|
||||
@del /Q /S components\dcpcrypt\lib\*.*
|
||||
@del /Q /S components\kascrypt\lib\*.*
|
||||
@del /Q /S components\doublecmd\lib\*.*
|
||||
@del /Q /S components\gifanim\lib\*.*
|
||||
@del /Q /S components\KASToolBar\lib\*.*
|
||||
|
|
|
|||
2
clean.sh
|
|
@ -5,7 +5,7 @@ rm -f units/*/*
|
|||
|
||||
# Clean up components output directories
|
||||
rm -rf components/chsdet/lib/*
|
||||
rm -rf components/dcpcrypt/lib/*
|
||||
rm -rf components/kascrypt/lib/*
|
||||
rm -rf components/doublecmd/lib/*
|
||||
rm -rf components/gifanim/lib/*
|
||||
rm -rf components/Image32/lib/*
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ rem This script is called from ..\build.bat.
|
|||
pushd components
|
||||
lazbuild chsdet\chsdet.lpk %DC_ARCH%
|
||||
lazbuild multithreadprocs\multithreadprocslaz.lpk %DC_ARCH%
|
||||
lazbuild dcpcrypt\dcpcrypt.lpk %DC_ARCH%
|
||||
lazbuild kascrypt\kascrypt.lpk %DC_ARCH%
|
||||
lazbuild doublecmd\doublecmd_common.lpk %DC_ARCH%
|
||||
lazbuild Image32\Image32.lpk %DC_ARCH%
|
||||
lazbuild KASToolBar\kascomp.lpk %DC_ARCH%
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ basedir=$(pwd)
|
|||
cd components
|
||||
$lazbuild chsdet/chsdet.lpk $DC_ARCH
|
||||
$lazbuild multithreadprocs/multithreadprocslaz.lpk $DC_ARCH
|
||||
$lazbuild dcpcrypt/dcpcrypt.lpk $DC_ARCH
|
||||
$lazbuild kascrypt/kascrypt.lpk $DC_ARCH
|
||||
$lazbuild doublecmd/doublecmd_common.lpk $DC_ARCH
|
||||
$lazbuild Image32/Image32.lpk $DC_ARCH
|
||||
$lazbuild KASToolBar/kascomp.lpk $DC_ARCH
|
||||
|
|
|
|||
|
|
@ -1,32 +0,0 @@
|
|||
|
||||
Change in v2.0.4.1 by Graeme Geldenhuys (2010)
|
||||
|
||||
* Version number bumped to v2.0.4.1
|
||||
|
||||
* More fixes for 64-bit support
|
||||
|
||||
* Removed a lot of compiler warnings - tested with FPC 2.4.1
|
||||
|
||||
|
||||
Change in v2.0.4 by Graeme Geldenhuys (2009)
|
||||
|
||||
* Version number bumped to v2.0.4
|
||||
|
||||
* Split the Lazarus package into two separate packages
|
||||
- one is runtime only package and GUI toolkit independent.
|
||||
- one is Lazarus design-time only package which installs
|
||||
components in component palette.
|
||||
|
||||
* Updated code to be compilable with FPC 2.4.0-rc1
|
||||
|
||||
* Updated code to be compilable with 64-bit FPC 2.4.0-rc1.
|
||||
- Tested under 32-bit & 64-bit Linux on x86 systems.
|
||||
|
||||
|
||||
Changes since DCPCrypt v2 Beta 3:
|
||||
|
||||
* Ported DCPCrypt to Lazarus by Barko in 2006
|
||||
|
||||
|
||||
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
||||
|
||||
|
|
@ -1,130 +0,0 @@
|
|||
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
||||
= DCPcrypt Cryptographic Component Library v2 Beta 3 =
|
||||
= 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) and Kylix(tm) 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).
|
||||
|
||||
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. However, I
|
||||
am currently a student and if you are making money from my software I
|
||||
would really appreciate a donation of some sort, whether financial or
|
||||
a license for the software you develop (or if anyone wants to sponsor
|
||||
a Mathematical Modelling (Masters) student for their final year...).
|
||||
Please note THIS IS NOT COMPULSORY IN ANY WAY. See
|
||||
http://www.cityinthesky.co.uk/cryptography.html for details on
|
||||
financial donations.
|
||||
|
||||
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 my page at
|
||||
http://www.cityinthesky.co.uk/ would be great!
|
||||
|
||||
|
||||
|
||||
What's New:
|
||||
|
||||
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:
|
||||
|
||||
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.
|
||||
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 406 B |
|
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 6.8 KiB |
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CONFIG>
|
||||
<Package Version="4">
|
||||
<Name Value="dcpcrypt"/>
|
||||
<Author Value="David Barton, Barko & Graeme Geldenhuys"/>
|
||||
<Name Value="kascrypt"/>
|
||||
<Author Value="David Barton, Barko & Graeme Geldenhuys, Alexander Koblov"/>
|
||||
<CompilerOptions>
|
||||
<Version Value="11"/>
|
||||
<SearchPaths>
|
||||
|
|
@ -33,10 +33,9 @@
|
|||
<CustomOptions Value="-Xd -dtesting"/>
|
||||
</Other>
|
||||
</CompilerOptions>
|
||||
<Description Value="DCPcrypt Cryptographic Component Library
|
||||
<Description Value="KAScrypt Cryptographic Component Library
|
||||
"/>
|
||||
<License Value="DCPcrypt is open source software (released under the MIT license) and as such there is no charge for inclusion in other software.
|
||||
www.cityinthesky.co.uk/cryptography.html
|
||||
<License Value="KAScrypt is open source software (released under the MIT license) and as such there is no charge for inclusion in other software.
|
||||
"/>
|
||||
<Version Major="3" Minor="1"/>
|
||||
<Files Count="33">
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
This source is only used to compile and install the package.
|
||||
}
|
||||
|
||||
unit dcpcrypt;
|
||||
unit kascrypt;
|
||||
|
||||
{$warn 5023 off : no warning about unused units}
|
||||
interface
|
||||