=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
= DCPcrypt Cryptographic Component Library v2 =
= Copyright (c) 1999-2009 David Barton =
= http://www.cityinthesky.co.uk/ =
= crypto@cityinthesky.co.uk =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
UPDATE:
Included is an update for Delphi 2009 by Henri Gourvest. Note: I have
not tested this myself (I don't have Delphi 2009)
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.
没有合适的资源?快使用搜索试试~ 我知道了~
DCPcrypt delphi 加密解密
共83个文件
pas:31个
inc:14个
res:7个
5星 · 超过95%的资源 需积分: 22 40 下载量 38 浏览量
2011-09-19
17:12:07
上传
评论
收藏 211KB ZIP 举报
温馨提示
DCPcrypt v2.0 written by David Barton (crypto@cityinthesky.co.uk)
资源推荐
资源详情
资源评论
收起资源包目录
dcpcrypt2-2010.zip (83个子文件)
DCPdelphi5.cfg 390B
DCPdelphi6.res 2KB
DCPdelphi2007.dof 1KB
DCPcrypt2.pas 22KB
DCPcppbuilder5.res 2KB
DCPhashes.dcr 4KB
DCPdelphi2007.dproj 19KB
DCPcppbuilder5.bpk 3KB
DCPdelphi6.cfg 390B
DCPdelphi6.dpk 2KB
DCPdelphi2007.res 5KB
DCPciphers.dcr 9KB
DCPdelphi2009.dproj 6KB
DCPbase64.pas 6KB
DCPdelphi2007.cfg 390B
DCPkylix.kof 699B
Docs
BlockCiphers.html 7KB
Index.html 11KB
Ciphers.html 17KB
Hashes.html 6KB
osi-certified-120x100.png 7KB
MIT_license.txt 1KB
DCPdelphi2009.cfg 390B
DCPdelphi4.res 2KB
DCPconst.pas 3KB
DCPdelphi5.dof 1KB
Readme.txt 5KB
DCPdelphi2009.dof 1KB
DCPdelphi4.dof 1KB
DCPkylix.conf 177B
DCPdelphi2009.dpk 2KB
DCPdelphi2007.dpk 2KB
DCPdelphi6.dof 1KB
DCPkylix.dpk 2KB
DCPdelphi4.dpk 2KB
DCPdelphi5.dpk 2KB
DCPreg.pas 3KB
DCPcppbuilder5.cpp 2KB
DCPdelphi4.cfg 327B
DCPblockciphers.pas 22KB
Hashes
DCPtiger.pas 13KB
DCPmd5.pas 10KB
DCPripemd128.pas 17KB
DCPhaval5.inc 29KB
DCPhaval.pas 16KB
DCPtiger.inc 23KB
DCPsha1.pas 15KB
DCPhaval3.inc 16KB
DCPsha256.pas 27KB
DCPmd4.pas 9KB
DCPripemd160.pas 30KB
DCPsha512.pas 36KB
DCPhaval4.inc 23KB
DCPdelphi5.res 2KB
Ciphers
DCPcast256.inc 12KB
DCPidea.pas 9KB
DCPmisty1.pas 8KB
DCPtwofish.pas 19KB
DCPice.pas 13KB
DCPmars.pas 27KB
DCPtwofish.inc 3KB
DCPmisty1.inc 4KB
DCPblowfish.pas 12KB
DCPgost.inc 11KB
DCPcast128.pas 17KB
DCPdes.inc 13KB
DCPcast256.pas 13KB
DCPrijndael.pas 13KB
DCPrc4.pas 7KB
DCPcast128.inc 25KB
DCPblowfish.inc 13KB
DCPrc5.pas 7KB
DCPserpent.pas 21KB
DCPrc2.inc 1KB
DCPrc6.pas 8KB
DCPrc2.pas 7KB
DCPtea.pas 5KB
DCPmars.inc 6KB
DCPgost.pas 12KB
DCPrijndael.inc 65KB
DCPdes.pas 17KB
DCPkylix.res 32B
DCPdelphi2009.res 5KB
共 83 条
- 1
资源评论
- ydxhz2018-09-27真的很不错
systemjava
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功