/dev/urandom

The Linux device that returns cryptographically secure random bytes, used to create keys.

In more detail

Reading it never blocks, and on modern kernels its output is suitable for generating keys. A 32-byte key for aescbc in an EncryptionConfiguration should come from it, for example head -c 32 /dev/urandom | base64.

Related terms

Taught in

References

Certification courses