java_DigitalSign

所属分类:Java编程
开发工具:Java
文件大小:23KB
下载次数:111
上传日期:2009-06-12 16:53:27
上 传 者myyingluoer
说明:  实用数字签名的步骤 (1)发送方使用MD5算法对原始信息进行计算,获得一个固定长度的信息摘要 (2)发送方用自己的私钥加密生成的信息生成发送方的数字签名,发送方把这个数字签名作为发送信息的附件和明文信息,一同用接收方的公钥进行加密,将加密后的密文一同发送给接收方; (3)接收方首先把接收到的密文用自己的私钥解密,得到明文信息和数字签名,再用发送方的公钥对数字签名进行解密,然后使用相同的单向散列算法来计算解密得到的明文信息,得到信息摘要;对比计算出来的信息摘要和发送方发送过来的信息摘要是否一致
(Practical steps to a digital signature (1) sender MD5 algorithm used to calculate the original information, access to a fixed length message digest (2) use their own sender s private key to generate encrypted information generated by the sender s digital signature, the sender of the digital signature as an annex to send a message and express information, together with the recipient s public key for encryption, will be encrypted ciphertext sent to the receiver together (3) the recipient first received ciphertext with its own private key to decrypt received explicit information and digital signatures, and then the sender s public key to decrypt the digital signature, and then use the same one-way hash algorithm to calculate the explicit information to be decrypted, the message digest contrast calculated message digest and the sender sent the message digest are consistent)

文件列表:
test3\.classpath (547, 2009-04-07)
test3\.project (381, 2009-04-07)
test3\A.txt (931, 2009-04-07)
test3\B.txt (934, 2009-04-07)
test3\bin\Client$1.class (998, 2009-04-07)
test3\bin\Client.class (7600, 2009-04-07)
test3\bin\MD5Encrypt.class (2233, 2009-04-07)
test3\bin\RSAUtil.class (5246, 2009-04-07)
test3\bin\Server$1.class (860, 2009-04-07)
test3\bin\Server.class (8246, 2009-04-07)
test3\bin (0, 2009-04-07)
test3\DS\Client.java (8570, 2009-04-07)
test3\DS\MD5Encrypt.java (1668, 2009-04-07)
test3\DS\RSAUtil.java (6606, 2009-03-26)
test3\DS\Server.java (8805, 2009-04-07)
test3\DS (0, 2009-04-07)
test3\test-1.txt (17, 2005-11-03)
test3 (0, 2009-04-07)

近期下载者

相关文件


收藏者