文件名称:java_DigitalSign
-
所属分类:
- 标签属性:
- 上传时间:2012-10-22
-
文件大小:23.26kb
-
已下载:2次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
实用数字签名的步骤
(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
(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
test3/.project
test3/A.txt
test3/B.txt
test3/bin/Client$1.class
test3/bin/Client.class
test3/bin/MD5Encrypt.class
test3/bin/RSAUtil.class
test3/bin/Server$1.class
test3/bin/Server.class
test3/bin
test3/DS/Client.java
test3/DS/MD5Encrypt.java
test3/DS/RSAUtil.java
test3/DS/Server.java
test3/DS
test3/test-1.txt
test3
test3/.project
test3/A.txt
test3/B.txt
test3/bin/Client$1.class
test3/bin/Client.class
test3/bin/MD5Encrypt.class
test3/bin/RSAUtil.class
test3/bin/Server$1.class
test3/bin/Server.class
test3/bin
test3/DS/Client.java
test3/DS/MD5Encrypt.java
test3/DS/RSAUtil.java
test3/DS/Server.java
test3/DS
test3/test-1.txt
test3
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.