php服务器端加密+delphi客户端加密

DCPcrypt是一个开源的Delphi和Kylix加密组件库,适用于Borland Delphi和C++ Builder。它包含了多种加密和哈希算法,可在Delphi 4到2005及Kylix 1和2上运行。该库允许用户轻松替换算法,且提供了与PHP加密协同工作的示例。作者鼓励在商业软件中使用DCPcrypt并接受捐赠支持其发展。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

http://www.cityinthesky.co.uk/delphi.html

Delphi

I've been using Delphi for quite a long time now, from version 1 on Windows 3.11! I intend to release any interesting things that I develop as open source programs. I may in future put some maths related programs here but until then the the only thing of note is my...

Delphi Cryptography Package

DCPcrypt is an open source library of cryptographic components (encryption algorithms and hash algorithms) for Borland Delphi and Kylix (it also works under some versions of C++ Builder). I haven't been able to update it for quite a long time now but it still works quite happily with Delphi 4, 5, 6, 7 and 2005 and Kylix 1 and 2 (it might work under Kylix 3, but I don't have a copy to try it out on). The current version (v2 beta 3) is considered to be stable and for all intents and purposes is the final release before I revamp everything.

Thanks to Manuel C. for making changes to the code to make this work under Delphi 2005!

For those of you using PHP, here is a little demo showing how to get PHP and Delphi encryption to work together.

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 v2 contains full implementations of the following algorithms:

Encryption Algorithms

Hash Algorithms

  • Blowfish
  • Cast 128
  • Cast 256
  • DES, 3DES
  • Ice, Thin Ice, Ice2
  • IDEA
  • Mars
  • Misty1
  • RC2, RC4, RC5, RC6
  • Rijndael (the new AES)
  • Serpent
  • Tea
  • Twofish
  • Haval
  • MD4
  • MD5
  • RipeMD-128
  • RipeMD-160
  • SHA-1
  • SHA-256, SHA-384, SHA-512
  • Tiger

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 Ph.D. student in Nonlinear Dynamics ...).

You can make donations via Paypal to the Paypal address paypal@cityinthesky.co.uk or by clicking the Donate button.

Or if you want you can buy me a (small) gift from my wish list at Amazon.co.uk. Thanks!

 

  • DCPcrypt Demos - Two demos for use with DCPcrypt v2.
  • DCPcrypt v2 Beta 3 - RECOMMENDED: The very latest version with full(?) documentation.
  • DCPcrypt v1.31 - The last of the "old style" library series. All the implementations work correctly however it is recommended that you use the v2 beta.

 

If for some strange reason you'd like to contact me, try emailing me at

My email address

Make sure the subject line is something noticeable e.g. "DCPcrypt". If you don't get a reply within a week or two then try sending your message again. I'm getting very annoyed by all the spam...

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值