TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Do you need a true random number API?

2 pointsby philippnagelabout 10 years ago
I am currently playing around with some learning project ideas and this is one of them. Is there a need for a cryptographically secure true random number API?

2 comments

ShaneCurranabout 10 years ago
Is that not what <a href="https:&#x2F;&#x2F;www.random.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.random.org&#x2F;</a> does?
评论 #9361202 未加载
MichaelCrawfordabout 10 years ago
My understanding is that you cannot use mathematics to generate random numbers. Somewhere in there you need a quantum process. However that is not hard, just point your camera phone out the window at the clouds.<p>The problem I see with this is, suppose I hash a picture of the sky down to just one bit. Can I count on my hash evenly dividing between one and zero, without any bias?
评论 #9360964 未加载