文件名称:Practical-digital-signature

  • 所属分类:
  • 加密解密
  • 资源属性:
  • [Java] [源码]
  • 上传时间:
  • 2013-11-05
  • 文件大小:
  • 1.32mb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 丁**
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

实用数字签名的步骤

(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

.......\.project

.......\.settings\org.eclipse.jdt.core.prefs

.......\bcprov-jdk15-140.jar

.......\.in\zhong\Aclient$1.class

.......\...\.....\Aclient$2.class

.......\...\.....\Aclient$3$1.class

.......\...\.....\Aclient$3.class

.......\...\.....\Aclient.class

.......\...\.....\Bclient$1.class

.......\...\.....\Bclient$2.class

.......\...\.....\Bclient.class

.......\...\.....\EncryptException.class

.......\...\.....\ProductMD5ia.class

.......\...\.....\RSAUtil.class

.......\...\.....\RunClient$1.class

.......\...\.....\RunClient.class

.......\input.txt

.......\src\zhong\Aclient.java

.......\...\.....\Bclient.java

.......\...\.....\EncryptException.java

.......\...\.....\ProductMD5ia.java

.......\...\.....\RSAUtil.java

.......\...\.....\RunClient.java

.......\bin\zhong

.......\src\zhong

.......\.settings

.......\bin

.......\src

MD5实验

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org