|Classes of Martin Latter||>||PHP Random Bytes||>||README.md||>||Download|
Generate cryptographically-strong random bytes.
Create random bytes – as cryptographically-strong as possible – from available sources of entropy, and display in different output formats.
Random Bytes Definitions:
The random bytes generated are only as good as the underlying entropy generator of the OS.
Linux's /dev/urandom entropy source is a non-blocking generator 'suitable for most cryptographic purposes'. (/dev/random, being blocking, isn't suitable for this script.)
OpenBSD and FreeBSD have non-blocking /dev/random implementations.
Random Bytes is released under the GPL v.3.