there is hardware random number generator
登录 | 论坛导航 -> 华新鲜事 -> 求学狮城 | 本帖共有 2 楼,分 1 页, 当前显示第 1 页 : 本帖树形列表 : 刷新 : 返回上一页
<<始页  [1]  末页>>
作者:吴永铮 (等级:8 - 融会贯通,发帖:2078) 发表:2007-09-24 19:11:00  楼主  关注此帖评分:
在计算机上,怎么产生非伪随机数呀?
there is hardware random number generator
In linux, the interface is /dev/(u)random. Many crypto software use it. check http://en.wikipedia.org/wiki//dev/random

the following command gives 64 bytes of random data:

[atp@risci1 ~]$ dd if=/dev/urandom bs=64 count=1 | od
1+0 records in
1+0 records out
64 bytes (64 B) copied, 6.0784e-05 seconds, 1.1 MB/s
0000000 125047 155010 151240 044101 134716 055204 027564 056065
0000020 000400 167744 111504 136012 136674 175425 045721 005465
0000040 111165 146462 106526 175406 153705 053636 101666 057700
0000060 175272 161005 105256 053347 171741 072074 127474 042150
Put your OWN COOL signature here!
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!原文 / 传统版 / WAP版所有回复从这里展开收起列表
作者:吴永铮 (等级:8 - 融会贯通,发帖:2078) 发表:2007-09-25 12:14:38  2楼 评分:
It uses temperature and electronic noise
Nowadays, the chip is built in almost all motherboard. This link is better. http://en.wikipedia.org/wiki/Hardware_random_number_generator

I remember there are also RNG using photon or other quantum stuff. They are not very expensive (price comparable to harddisk, I think), easy to use and not very big in size. Dr Chang Ee Chien mentioned it on his crypto class.
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!原文 / 传统版 / WAP版所有回复从这里展开收起列表
论坛导航 -> 华新鲜事 -> 求学狮城 | 返回上一页 | 本主题共有 2 篇文章,分 1 页, 当前显示第 1 页 | 回到顶部
<<始页  [1]  末页>>

请登录后回复:帐号   密码