Put in order · Blockchain and Web3 course · Module 2: Cryptography

Sources of Entropy

Arrange the sources of entropy from best to worst:

Items to put in order

  • Hardware RNG (physical noise)
  • Math.random() (weak!)
  • User mouse movements
  • OS entropy pool (/dev/urandom)
Show the answer

Correct order:

  1. Hardware RNG (physical noise)
  2. OS entropy pool (/dev/urandom)
  3. User mouse movements
  4. Math.random() (weak!)