TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Random number generators

1 点作者 ycombinatorial9大约 11 年前
This post mostly makes sense but ughh. theoretically. for instance, /dev/random is almost useless because it blocks frequently. kind of moot.

1 comment

ycombinatorial9大约 11 年前
Lot of things the author mentions isn&#x27;t valid for practical world. Apache (with TLS&#x2F;SSL) with &#x2F;dev&#x2F;random is asking for trouble; meaning, client&#x27;s requests will just block forever if not enough seed cannot be generated (same with TLS&#x2F;SSL aware postfix). A lot of software out there in use that require real-world RNG thus default to &#x2F;dev&#x2F;urandom. I am not sure whether its good or bad.<p>I know that on osx atleast, Yarrow kind of shields the fact that &#x2F;dev&#x2F;urandom and &#x2F;dev&#x2F;random produce non-blocking RNG.