Why randomness matters now

Entropy is usually treated as a solved problem — until it is not. Below are recent, documented cases in which random number generation was the failure, plus the regulatory pressure now pushing organisations to revisit their cryptographic foundations. Every claim links to a primary source.

Documented failures

When the generator is the vulnerability

  • August 2026 · Library flaw

    A weak generator in a widely used JavaScript crypto library

    A random number generation weakness in the CryptoJS library meant that values intended to be unguessable could be reproduced. Because the library is embedded in a very large number of downstream projects, applications inherited the weakness without any mistake of their own.

    Public reporting linked the flaw to wallet applications whose users lost funds — the practical outcome of a secret that could be recomputed rather than guessed.

  • July 2026 · Firmware fix

    A hardware generator that was not actually being used

    A hardware wallet vendor shipped a hotfix after a code path that was meant to read the device's hardware random source resolved instead to a software generator. The device had good hardware entropy available; the software simply did not reach it.

    This is the most common shape of real-world entropy failure: not an absent source, but an unverified path between the source and the code that consumes it.

  • Structural risk

    A weak secret stays weak forever

    Security researchers analysing wallet seed generation make a point that generalises well beyond cryptocurrency: patching a faulty generator protects future secrets only. Keys, seeds and certificates already created from the weak source remain predictable for as long as they exist.

    Remediation therefore means finding, revoking and reissuing — which for a fleet of shipped devices may be impossible.

  • 2026 · Regulation

    Post-quantum migration is becoming an obligation

    Standardised post-quantum algorithms are published, and national authorities have moved from encouragement to timetables for migrating away from classical public-key cryptography.

    Those algorithms still generate their keys from random input. A migration programme is the natural moment to ask where that input comes from and whether its quality can be demonstrated under frameworks such as NIST SP 800-90B or BSI AIS 31.

What these cases have in common

  • Nothing looked broken. In each case the output passed as random to anyone glancing at it. Statistical appearance is not evidence.
  • The failure was in the plumbing. A library default, an unresolved function call, a missing health check — not a broken cipher.
  • Damage was retroactive. Secrets created during the flawed period stayed vulnerable after the fix.
  • Detection came from outside. Continuous health testing and a documented entropy model exist precisely so that the vendor, not a victim, notices first.

Questions worth asking about your own systems

  1. Where does the first key of a device's life come from?
  2. Does the code that needs secrets call the platform's cryptographic API, or a convenience function from a library?
  3. If the entropy source degraded tomorrow, would anything detect it?
  4. Can you show an evaluator how much entropy the source provides, and against which model?
  5. If a weak source were discovered, could you identify and reissue everything derived from it?