- 2
- 0
- 约4.62千字
- 约 20页
- 2016-12-12 发布于河南
- 举报
随机性与伪随机数生成器 主讲人:赵永哲 e_mail: yongzhe @ 电话 安全的密钥 加密算法的安全性是以密钥的安全性为基础的。 安全的密钥指的是这个密钥必须是随机数。 如果它们不随机,或如果在产生随机数过程中有一点偏差,破译者就能利用这个偏差对保密信息进行破译 随机性 伪随机序列 密码学意义上的伪随机序列 真随机序列 伪随机序列 均匀分布数列中每个数出现的频率应相等或近似相等。 应该有大约相同的0和1 长度为1的游程大约占一半 长度为2的游程大约占1/4 长度为3的游程大约占1/8 密码学意义上的伪随机序列 不可预测的 即使给出产生序列的算法或硬件和所有以前产生的位序列,也不能预测下一个随机位是什么 真随机序列 不能重复产生 即使在完全相同的操作条件下用完全相同的输入对序列发生器操作两次,也将得到两个完全不同的、毫不相关的位序列。 独立性数列中任意一数都不能由其他数推出 密钥的分类和对随机性的要求 主密钥(Master Key) 真随机序列 会话密钥(Session Key) 伪随机序列 真随机数生成器 RNG – Random Number Generators Random Number Generators are generating numbers in a sequence in such away that the next number has no relation with the previous numbers ORIONs Random Number Generator ORIONs Random Number Generator consists of two independent analogue Zener diode based noise sources. Both signals are converted into random bit streams, combined and subsequently transmitted in the form of bytes to the RS-232 port of your computer. The baud rate is 9600. So the device is capable of supplying you with about 960random bytes or 7600 random bits per second € 580 Quantum Random Bit Generator http://random.irb.hr/ QRBG121 is a fast non-deterministic random bit (number) generator whose randomness relies on intrinsic randomness of the quantum physical process of photonic emission in semiconductors and subsequent detection by photoelectric effect. In this process photons are detected at random, one by one independently of each other. Timing information of detected photons is used to generate random binary digits - bits. 伪随机数生成器 PRNG – Pseudo Random Number Generators 伪随机数生成器是一个确定性算法,用一个长度为k的二进制序列作为愉入,算法就能产生长度为m (mk)的随机数序列。 伪随机生成器的输入称为产生器的种子。 线性同余算法的PRNG Xn+1=(aXn+c) mod m 模数m(m0), 乘数a(0≤am), 增量c(0≤cm), 初值即种子X0(0≤X0m); 如果m、a、c、X0都为整数,则产生的随机数数列{Xn}也都是整数,且0≤Xnm。 线性同余算法的PRNG Simple, fastest For 32-bit words, the period can reach 232 Insecure, the formula can be worked out from output Fails in many tests Sufficiently random for man
您可能关注的文档
最近下载
- 《赋得古原草送别》古诗原文及鉴赏.pdf VIP
- Q_GDW 10450-2021 隔离开关和接地开关状态评价导则.docx VIP
- 2025年高职提招数学考试题及答案详解.doc VIP
- 2025年高考数学专项复习:解三角形(两大易错点+九大题型)(学生版+解析,新高考专用).pdf VIP
- 小型旋耕机设计.doc VIP
- EPC项目设计相关强制性技术标准的执行.docx VIP
- 2025年江苏航空职业技术学院单招《英语》测试卷含答案详解(培优A卷).docx VIP
- Q-GDW10460-2025 电容式电压互感器、耦合电容器状态评价导则.pdf VIP
- 胆汁淤积性肝病中医诊疗指南-公示稿.pdf VIP
- 不同因素对UHPC流动性和力学性能的影响及机理分析.pdf VIP
原创力文档

文档评论(0)