Raspberry Pi

From wiki
Revision as of 10:35, 27 December 2016 by Vincent (talk | contribs) (Created page with "== Entropy == The Raspberry Pi contains a [https://en.wikipedia.org/wiki/Hardware_random_number_generator hardware random number generator]. It is activated by default in newe...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Entropy

The Raspberry Pi contains a hardware random number generator. It is activated by default in newer Raspbian versions. You can test it by checking the presence of the file /dev/hwrng.

However is is not used by default to fill the Linux kernel entropy. To use it install the package rng-tools.

$ sudo apt install rng-tools

You can then test the available entropy using

$ cat /proc/sys/kernel/random/entropy_avail
1856