文件名称:Practical-digital-signature
-
所属分类:
- 标签属性:
- 上传时间:2013-11-05
-
文件大小:1.32mb
-
已下载:11次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
实用数字签名的步骤
(1)发送方使用MD5算法对通信内容进行计算,获得一个固定长度的信息摘要;
(2)发送方用自己的私钥加密生成的信息生成发送方的数字签名,发送方把这个数字签名作为发送信息的附件和明文信息,一同用接收方的公钥进行加密,将加密后的密文一同发送给接收方;
(3)接收方首先把接收到的密文用自己的私钥解密,得到明文信息和数字签名,再用发送方的公钥对数字签名进行解密,然后使用相同的单向散列算法来计算解密得到的明文信息,得到信息摘要;对比计算出来的信息摘要和发送方发送过来的信息摘要是否一致
思考:
(1)请分别选择文件test-1.txt和test_picture.bmp作为通讯内容,分别记录全过程用时,并对比一下;
(2)如果所发送的内容数据量非常大,上述方案中的效率不能满足要求,请考虑一下如何解决这个问题。-Practical steps digital signature
( A ) the sender uses the MD5 algorithm to calculate the content of communications , access to a fixed-length message digest
( 2 ) the sender s private key encryption with their own information generated by the sender generates a digital signature , the digital signature of the sender of the message as an attachment and send plaintext , together with the recipient s public key to encrypt the encrypted sent along with the ciphertext to the recipient
( 3 ) First, the recipient receives the ciphertext with his private key to decrypt , get the plaintext and the digital signature , then the sender s public key to decrypt the digital signature , and then using the same one-way hash algorithm to calculate decrypted plaintext information, to receive message digest comparing the calculated message digest and the information sent from the sender summary is consistent
Reflections :
( 1 ) Please select the file test-1.txt respectively and test_pictur
(1)发送方使用MD5算法对通信内容进行计算,获得一个固定长度的信息摘要;
(2)发送方用自己的私钥加密生成的信息生成发送方的数字签名,发送方把这个数字签名作为发送信息的附件和明文信息,一同用接收方的公钥进行加密,将加密后的密文一同发送给接收方;
(3)接收方首先把接收到的密文用自己的私钥解密,得到明文信息和数字签名,再用发送方的公钥对数字签名进行解密,然后使用相同的单向散列算法来计算解密得到的明文信息,得到信息摘要;对比计算出来的信息摘要和发送方发送过来的信息摘要是否一致
思考:
(1)请分别选择文件test-1.txt和test_picture.bmp作为通讯内容,分别记录全过程用时,并对比一下;
(2)如果所发送的内容数据量非常大,上述方案中的效率不能满足要求,请考虑一下如何解决这个问题。-Practical steps digital signature
( A ) the sender uses the MD5 algorithm to calculate the content of communications , access to a fixed-length message digest
( 2 ) the sender s private key encryption with their own information generated by the sender generates a digital signature , the digital signature of the sender of the message as an attachment and send plaintext , together with the recipient s public key to encrypt the encrypted sent along with the ciphertext to the recipient
( 3 ) First, the recipient receives the ciphertext with his private key to decrypt , get the plaintext and the digital signature , then the sender s public key to decrypt the digital signature , and then using the same one-way hash algorithm to calculate decrypted plaintext information, to receive message digest comparing the calculated message digest and the information sent from the sender summary is consistent
Reflections :
( 1 ) Please select the file test-1.txt respectively and test_pictur
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MD5实验/.classpath
MD5实验/.project
MD5实验/.settings/org.eclipse.jdt.core.prefs
MD5实验/bcprov-jdk15-140.jar
MD5实验/bin/zhong/Aclient$1.class
MD5实验/bin/zhong/Aclient$2.class
MD5实验/bin/zhong/Aclient$3$1.class
MD5实验/bin/zhong/Aclient$3.class
MD5实验/bin/zhong/Aclient.class
MD5实验/bin/zhong/Bclient$1.class
MD5实验/bin/zhong/Bclient$2.class
MD5实验/bin/zhong/Bclient.class
MD5实验/bin/zhong/EncryptException.class
MD5实验/bin/zhong/ProductMD5ia.class
MD5实验/bin/zhong/RSAUtil.class
MD5实验/bin/zhong/RunClient$1.class
MD5实验/bin/zhong/RunClient.class
MD5实验/input.txt
MD5实验/src/zhong/Aclient.java
MD5实验/src/zhong/Bclient.java
MD5实验/src/zhong/EncryptException.java
MD5实验/src/zhong/ProductMD5ia.java
MD5实验/src/zhong/RSAUtil.java
MD5实验/src/zhong/RunClient.java
MD5实验/bin/zhong
MD5实验/src/zhong
MD5实验/.settings
MD5实验/bin
MD5实验/src
MD5实验
MD5实验/.project
MD5实验/.settings/org.eclipse.jdt.core.prefs
MD5实验/bcprov-jdk15-140.jar
MD5实验/bin/zhong/Aclient$1.class
MD5实验/bin/zhong/Aclient$2.class
MD5实验/bin/zhong/Aclient$3$1.class
MD5实验/bin/zhong/Aclient$3.class
MD5实验/bin/zhong/Aclient.class
MD5实验/bin/zhong/Bclient$1.class
MD5实验/bin/zhong/Bclient$2.class
MD5实验/bin/zhong/Bclient.class
MD5实验/bin/zhong/EncryptException.class
MD5实验/bin/zhong/ProductMD5ia.class
MD5实验/bin/zhong/RSAUtil.class
MD5实验/bin/zhong/RunClient$1.class
MD5实验/bin/zhong/RunClient.class
MD5实验/input.txt
MD5实验/src/zhong/Aclient.java
MD5实验/src/zhong/Bclient.java
MD5实验/src/zhong/EncryptException.java
MD5实验/src/zhong/ProductMD5ia.java
MD5实验/src/zhong/RSAUtil.java
MD5实验/src/zhong/RunClient.java
MD5实验/bin/zhong
MD5实验/src/zhong
MD5实验/.settings
MD5实验/bin
MD5实验/src
MD5实验
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.