- 1、本文档共72页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
第二讲密码学及其应用报告
Cryptography Is A tremendous tool The basis for many security mechanisms Is not The solution to all security problems Reliable unless implemented properly Reliable unless used properly Something you should try to invent yourself unless you spend a lot of time becoming an expert you subject your design to outside review Basic Concepts in Cryptography Encryption scheme: functions to encrypt, decrypt data key generation algorithm Secret key vs. public key Public key: publishing key does not reveal key-1 Secret key: more efficient, generally key = key-1 Hash function, MAC Map input to short hash; ideally, no collisions MAC (keyed hash) used for message integrity Signature scheme Functions to sign data, verify signature Evaluation of one-time pad Advantages Easy to compute encrypt, decrypt from key, text As hard to break as possible This is an information-theoretically secure cipher Given ciphertext, all possible plaintexts are equally likely, assuming that key is chosen randomly Disadvantage Key is as long as the plaintext How does sender get key to receiver securely? Idea for stream cipher: use pseudo-random generators for key... Applications of one-way hash Password files (one way) Digital signatures (collision resistant) Sign hash of message instead of entire message Data integrity Compute and store hash of some data Check later by recomputing hash and comparing Keyed hash for message authentication MAC – Message Authentication Code 用于数据完整性验证 ??? 用于数字签名(digital signature) 只有发送者才能生成的标志,接收者可以用来确认是否属于发送者 必须满足两个主要条件:不可伪造;可检验 在完成交易需要另外两个性质: 不可变(完整性) 不可重用(时间戳) 接收方可以验证发送方所宣称的身份 发送方以后不能否认该消息的内容 接收方不可能自己编造这样的消息 用于数字签名(1) 一些直接基于加密机制的签名方案 对签名的批评:签名和保密合在一起 认证不需对整条信息加密 用于数字签名(2) 对hash后的信息进行加密用作签名 消息认证码 消息认证是一种允许通行者验证所收消息是否可信的措施 验证消息的内容有无被篡改 验证信源是否可信 验证消息的时效性。 基于散列函数消息认证码-HMAC 设计散列函数不是为了用作MAC,因此不能达到MAC的目的 将密钥结合到现有的散列算法中,最广为被接收的方案是HMAC。 发布为RFC2104标准,被应用于Internet安全协议中,IPsec ,TLS , SET等。 HMAC的设计目标 不改动就可以使
您可能关注的文档
- 第二节第一课时开放的中国走向世界1报告.ppt
- 第二节日本报告.ppt
- 第二节生物对环境的适应和影响2015报告.ppt
- 第二节铝金属材料(第一课时)报告.ppt
- 第二节随机变量的分布报告.ppt
- 第二节第一课时氧气的性质报告.ppt
- 第二节走进科学实验室报告.ppt
- 第二节:熔化与凝固报告.ppt
- 第二节齿轮齿形的加工报告.ppt
- 第二节:生命活动的承担——蛋白质报告.ppt
- 数据仓库:Redshift:Redshift与BI工具集成.docx
- 数据仓库:Redshift:数据仓库原理与设计.docx
- 数据仓库:Snowflake:数据仓库成本控制与Snowflake定价策略.docx
- 大数据基础:大数据概述:大数据处理框架MapReduce.docx
- 实时计算:GoogleDataflow服务架构解析.docx
- 分布式存储系统:HDFS与MapReduce集成教程.docx
- 实时计算:Azure Stream Analytics:数据流窗口与聚合操作.docx
- 实时计算:Kafka Streams:Kafka Streams架构与原理.docx
- 实时计算:Kafka Streams:Kafka Streams连接器开发与使用.docx
- 数据仓库:BigQuery:BigQuery数据分区与索引优化.docx
文档评论(0)