真(非伪)随机数生成器.那里有什么? [英] True (not pseudo) random number generators. What's out there?

查看:156
本文介绍了真(非伪)随机数生成器.那里有什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找能够产生真实随机数的负担得起的解决方案.

我发现 LavaRnd ,这是一种密码学上可靠的随机数生成器.是否有人在这一领域有经验和/或了解其他解决方案?

PS:恕我直言,SO问题真正的随机数生成器并没有真正涵盖 >


编辑:

我的好奇心更多是学术性的.我不想了解足以用于实际应用的PRNG .我知道它们存在并且会做到.

当然,生成真实的随机数将需要硬件设备.这就是为什么我用 hardware 标记它的原因.

解决方案

您未指定环境.

摘自Linux的/dev/random文档

随机数生成器聚集 设备产生的环境噪声 驱动程序和其他来源 熵池.发电机也保持 估计的位数 熵池中的噪声.从 这个熵池的随机数是 已创建.

因此,这是一个基于密码安全的随机源,它基于来自诸如以太网数据包的任意定时,键盘和鼠标输入等之类的不可预测的输入.

还有Bruce Schneier的 Yarrow PRNG服务器.不是真正随机的,但被认为是加密安全的.

...,还有 EGD (熵收集守护程序).用Perl编写,因此可以在许多平台上移植.

I am looking for affordable solutions that generate true random numbers.

I have found LavaRnd, which is a cryptographically sound random number generator. Does anybody has experience in this field and/or knows about other solutions?

PS: IMHO the SO question True random number generator did not really cover this


EDIT:

My curiosity is more of academic nature. I don't want to know about PRNGs that are good enough for practical applications. I know they exist and that they will do.

Of course, generating true random numbers will require hardware devices. That's why I tagged this with hardware.

解决方案

You didn't specify an environment.

From the documentation for Linux's /dev/random

The random number generator gathers environmental noise from device drivers and other sources into an entropy pool. The generator also keeps an estimate of the number of bit of the noise in the entropy pool. From this entropy pool random numbers are created.

So this is a cryptographically secure random source, based on unpredictable input from such things as the arbitrary timings of ethernet packets, keyboard and mouse input, etc.

There's also Bruce Schneier's Yarrow PRNG server. Not truly random, but considered cryptographically secure.

... and also EGD, the Entropy Gathering Daemon. Written in Perl and hence portable across many platforms.

这篇关于真(非伪)随机数生成器.那里有什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆