南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)密码算法

计算机问题求解一论题4-4 密码算法 2017年04月05日
计算机问题求解 – 论题4-4 - 密码算法 2017年04月05日

问题1: Cryptosystem是什么意 思?它要解决的基本问题 是什么?

最古典:Caesar's Cipher Plain b c d e h n Cipher D E F G H K L M P Plain n 0 p t U 0 2 Cipher Q R S T U X Z A B C a b d e h i k m 0 1 2 3 4 5 6 7 8 9 10 11 12 n 0 P 9 u U w E y 13 14 15 1617 18 19 20 21 22 23 2425 Cipher Plain +3mod 26 你试试:NKH GLH LV FDVW The die is cast!
最古典: Caesar’s Cipher Cipher = Plain + 3mod 26 你试试: WKH GLH LV FDVW The die is cast!

问题2: 你能不能用数学概念来描述 加密和解密?

Transformations An enciphering transformation (also called an enciphering function)is a bijective function Ee:M→e, where the key eE K uniquely determines Ee acting upon plaintert message units m E M to get ciphertert message units Ee(m)=c∈C. A deciphering transformation (or deciphering function)is a bijective function Da:CM, which is uniquely determined by a given key d E K,acting upon ciphertert message units c Ee to get plaintert message units Da(c)=m. The application of Ee to m,namely the operation Ee(m),is called enciphering, encoding,or encrypting m EM,whereas the application of Da to c is called deciphering,decoding,or decrypting ceC
Transformations

Cryptosystem A cryptosystem is composed of a set (Ee:eEX} consisting of enciphering transformations and the corresponding set (Ee:eeX)={Da:deX) of deciphering transformations.In other words,for eacheK,there erists a unique dK such that Da=E,so that Da(Ee(m))=m for all mM. The keys (e,d)are called a key pair where possibly e=d.A cryptosystem is also called a cipher
Cryptosystem

间题3: 你能香说说一个“好”的 cryptosystem应该是什么 样的?

Kerckhoffs'Rules for Field Ciphers 1.The cryptosystem should be practically unbreakable (breakable in theory, perhaps,but not in practice). 2.A compromised cryptosystem should not inconvenience the correspondents. (This is the one from which his principle,displayed on page 96,seems to be derived since it says that the enemy may know the cryptosystem,but one should still be able to send messages since the enemy cannot cryptanalyze with this knowledge and without the key.) 3.The key should be easy to both remember and change at will. 4.Cryptosystems must be amenable to being sent by telegraph. 5.The mechanisms of the cryptosystem must be easily portable and entirely operable by a single entity. 6.The cryptosystem must be easy to use without reference to any manuals or the need for deep mental effort

问题4: 所谓“key”究竟是什么? 问题5: 所谓公开秘钥加密和私有秘 钥加密有什么区别?

古典密码:德国陆军强于恺撒 The German ADFGVX Field Cipher A D G X Plaintext:field cipher A B 3 R D ↓ F E H DF AX FG AV GF FA AX VX FX FG AG G R F L E X D F A X X A G F X F 你试试: X F G V XFVAXAFFGXFFGXFXFXXGDXDAFGVA G F G D A V X X X X A F F
古典密码:德国陆军强于恺撒 Plaintext: field cipher key 你试试: R I F L E D F A X X A G F X F F X F G V G F G D A V X X X X A F F
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)代数编码.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)数论基础.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)群同态基本定理与正规子群.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)群初步.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)线性规划.pptx
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)矩阵计算.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)图论的其它专题(平面图与图着色).pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)最大流算法.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)图中的匹配与覆盖(图中的匹配与因子分解).pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)旅行问题(图旅行).pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)图中的连通度和距离.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)多源最短通路算法 All-Pair Shortest Paths.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)单源最短通路算法.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)树.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)图的计算机表示以及遍历.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)图的基本概念.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)B树.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)用于动态等价关系的数据结构.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)贪心算法.pdf
- 南京大学:《计算机问题求解》课程教学资源(课件讲稿)动态规划.pdf
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)NP完全理论初步.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)串匹配.ppt
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)近似算法的基本概念.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)算法问题的形式化描述.pptx
- 《计算机问题求解》课程参考书籍:《算法学——计算精髓》PDF电子版(Algorithmics - The Spirit of Computing,THIRD EDITION,David Harel).pdf
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)为什么计算机能解题.ppt
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)什么样的推理是正确的.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)基本的算法结构.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)常用的证明方法.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)计算思维引导.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)如何将算法告诉计算机.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)数据与数据结构.pptx
- 《计算机问题求解》课程教学资源(阅读材料)Computational Thinking:What and Why?.pdf
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)关系及其基本性质.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)集合及其运算.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)函数.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)有限与无限.pptx
- 《计算机问题求解》课程教学资源(参考教材)Computer Algorithms - Introduction to Design and Analysis.pdf
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)Hashing方法.pptx
- 南京大学:《计算机问题求解》课程教学资源(PPT课件讲稿)分治法与递归.pptx