NIST Updates Random Number Generation Guidelines
An anonymous reader writes: Encryption weighs heavily on the public consciousness these days, as we've learned that government agencies are keeping an eye on us and a lot of our security tools aren't as foolproof as we've thought. In response to this, the National Institute of Standards and Technology has issued a formal update to its document on how to properly generate a random number — crucial in many types of encryption. The update (as expected) removes a recommendation for the Dual_EC_DRBG algorithm. It also adds extra options for CTR_DRBG and points out examples for implementing SP 800-90A generators. The full document (PDF) is available online.
One of they few poorly understood concepts in software development is that improperly initialized (called seeding) DRBG will break your crypto.
/dev/random for seeding. You want it to block if not enough randomness available.
For Linux, and especially for headless systems, use
Well, as long as it doesn't effect ECDHE, eh?
They're more like guidelines anyway.
There is no reason for creating dodgy software http://www.dailymotion.com/vid...
True randomness comes from quantum mechanical phenomena. Linux /dev/random is chaotic, yes, enough to seed a software "R"NG. But we can do better and devices to do so are cheap these days.
I wouldn't trust anything but diode noise for randomness. If I had a need to transmit messages privately, I'd only trust a one-time pad.
Bruce Perens.
How about turning some kind of analogy of the function of a lottery machine into some code/device for creating random numbers? (Assuming there isn't any cheating implemented ofc.)
Why do so many systems still use the hashed root or admin password to seed tcp sequence numbers? Cisco, Sun, IBM and DEC all started doing it about the same time. So who suggested it to them and just how many groups know how what it takes to pull bits out of that hash?
Is this document what has been holding up the finalizing of SHA-3? What's the reason for the curiously long hold-up on SHA-3?
NIST recklessly broke our trust in them by allowing known to be broken encryption into their standard. Their new document may come with all the best intentions, but it will take years to rebuild that trust. Let's wait for what the crypto community has to say about these documents, before we blindly follow their latest standards.
Thank you a thousand times to the link to the handbook! Now I can ditch the boring William Stallings crypto book which I never finished AND I don't need a physical copy!
To find out where the NSA put the twist.
Religion is what happens when nature strikes and groupthink goes wrong.
https://xkcd.com/221/
Traitors. You should be hanging from lamp posts in the streets of your neighborhoods.
'nuff said
The Yarrow algorithm, or its progeny Fortuna, are not yet a thing?
Shame.
https://en.wikipedia.org/wiki/...
Kriston