All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Debunking Myths: /dev/urandom Is Secure and Preferred for Cryptographic Randomness

By

signa11

17d ago· 19 min readenInsight

Summary

This article debunks common myths about /dev/urandom and /dev/random on UNIX-like systems. It explains that /dev/urandom is actually the preferred source of cryptographic randomness, contrary to the myth that it is insecure. Both /dev/urandom and /dev/random use the same cryptographically secure pseudorandom number generator (CSPRNG), and their differences are minor and unrelated to security quality. The article aims to correct widespread misconceptions in the developer and system administration community.

Key quotes

· 3 pulled
/dev/urandom is the preferred source of cryptographic randomness on UNIX-like systems.
Both /dev/urandom and /dev/random are using the exact same CSPRNG (a cryptographically secure pseudorandom number generator).
There are a few things about /dev/urandom and /dev/random that are repeated again and again. Still they are false.
Snippet from the RSS feed
There are a few things about /dev/urandom and /dev/random that are repeated again and again. Still they are false.

You might also wanna read