http://www.aspfree.com/authors/robert/resource/md5.zip Enclosed in this distribution are four projects: MD5DLLTest: Visual basic project which runs the MD5 test suite against a MD5 DLL (see below). VbMD5: A Visual Basic native MD5 message digest class based on the RSA reference implementation. md5DLL: A 'C' project which generates a simple Win32 DLL with the MD5 message digest routines using the RSA reference implementation. MD5Java: A Java implementation of the MD5 message digest algorithm based on the RSA reference implmentation. Let me know if this has any use!Robert M. Hubley [email protected]
只能用!而无法知道他的加密方法!
这样也就是:PHP里提供md5(),而没有其反函数。
各位有什么想法吗?
然后将你的文件发给接收方,接受方也md5一下,然后比较结果是不是相同,相同就说明你发过来的文件是真实的,是没有经过改变的,签名有效。
mcrypt函数库有相应的加密算法。
md5不能解密的,因为是hash的
我就不再罗说了。
源代码,好像对你没什么用
http://www.vckbase.com/sourcecode/algorithms/des.zip
DES的
http://www.vckbase.com/sourcecode/algorithms/mars.zip
IBM的MARS
http://www.vckbase.com/sourcecode/algorithms/idea.zip
IDEA的
Enclosed in this distribution are four projects: MD5DLLTest: Visual basic project which runs the MD5 test suite against a
MD5 DLL (see below). VbMD5: A Visual Basic native MD5 message digest class based on the
RSA reference implementation. md5DLL: A 'C' project which generates a simple Win32 DLL with
the MD5 message digest routines using the RSA reference
implementation. MD5Java: A Java implementation of the MD5 message digest algorithm based
on the RSA reference implmentation.
Let me know if this has any use!Robert M. Hubley
[email protected]