Switching hardware wallets? Migrate to Ledger safely in a few steps.

Learn more

Upgrade your digital life

Ledger Wallet: Free from compromise

Download now Learn more

True Random Number Generator (TRNG)

Aug 18, 2026 | Updated Aug 18, 2026
A True Random Number Generator (TRNG) is a hardware component that produces genuinely unpredictable random numbers from physical processes.

What Is a True Random Number Generator?

In the context of crypto, a True Random Number Generator (TRNG) is a hardware source of entropy. It produces unpredictable numbers by measuring physical phenomena, such as thermal noise or tiny electrical fluctuations inside a chip. 

This is different from a Pseudo-Random Number Generator (PRNG), which uses a mathematical formula to simulate randomness. The flaw of PRNGs is that, while the values it produces y may look random on the surface, they are deterministic. If an attacker were to learn the internal state of an inadequately sophisticated PRNG, its output may become predictable. 

A TRNG eliminates that specific risk. Though it’s worth noting that physical entropy sources do have their own failure modes. For example, the noise source can degrade, become biased, or be disrupted by fault injection. This is why independent testing and continuous security checks are essential.

How Randomness Impacts Wallet Security

In cryptography, randomness is the foundation of every secret. When you set up a crypto wallet, the TRNG produces raw randomness. This is used to generate a Secret Recovery Phrase, which can in turn generate an infinite number of private keys

If the randomness at step one is weak or predictable, every key the wallet derives is potentially at risk. This is not a theoretical vulnerability either. In 2022, the Ledger Donjon discovered that every wallet created by the Trust Wallet browser extension could be recovered from its public address alone, because the seed space was small enough to brute-force. More recently, in 2026, Coldcard disclosed a firmware bug that weakened how some devices generated seed phrases, leading to significant user losses.

How Ledger Signers Use a Certified TRNG

Ledger signers place the TRNG directly inside the Secure Element, the tamper-resistant security chip at the heart of each device. The TRNG supplies entropy for seed generation, ephemeral key generation, and security countermeasures that require unpredictable internal values. Placing it inside the Secure Element means a compromised computer or phone does not by itself give an attacker direct control over the device’s physical entropy source.

For a deeper look at how keys are generated and stored, explore how seed phrases work in Ledger Academy.

Hashed TimeLock Contract (HTLC)

A Hashed TimeLock Contract (HTLC) is a smart contract that facilitates secure, time-bound asset transfers between two parties, ensuring the exchange only happens when specific conditions are met.

Full definition

Apeing

Apeing is crypto slang describing the practice of investing in a new project without doing due diligence

Full definition

Security Token

A security token is a digital asset issued on a blockchain that represents a traditional security like a stock or bond.

Full definition

Own your crypto future

Stay informed with security tips, updates, and exclusive offers from Ledger

Your email address will only be used to send you our newsletter, as well as updates and offers. You can unsubscribe at any time. Learn more

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.