Glossary · Wallet security
Published 22 May 2025 · Updated 21 Oct 2026 · 12 min read
A mnemonic phrase is a list of words from a fixed wordlist that encodes the random number behind a wallet's keys. Most call these words a seed phrase. In BIP-39, the words encode 128 to 256 random bits plus a short checksum. PBKDF2 turns the words and an optional passphrase into the 64-byte seed that wallet keys come from.
BIP-39 calls the words a "mnemonic sentence" or "mnemonic code". Most wallets instead say seed phrase or recovery phrase. The standard reserves "seed" for the 64-byte result computed from those words. Allowed lengths are 12, 15, 18, 21 and 24 words. The 15-word, 18-word and 21-word forms encode 160, 192 and 224 entropy bits respectively. The last word holds seven entropy bits with 12 words, or three with 24 words, plus check bits.
Start with computer-generated entropy, from 128 to 256 random bits in multiples of 32. These bits supply the randomness encoded by the words.
Compute a SHA-256 cryptographic hash of the entropy. Append its first ENT/32 bits, where ENT means entropy length. This adds four bits for 128-bit entropy or eight for 256-bit entropy.
Split the combined bits into groups of 11 bits. Each group represents a number from 0 to 2,047, indexing one entry in a 2,048-word wordlist.
PBKDF2-HMAC-SHA512 uses 2,048 iterations. Its password is the UTF-8, NFKD-normalized mnemonic sentence. Its salt is "mnemonic" plus the optional passphrase, also NFKD-normalized. The output is 64 bytes. An absent passphrase means an empty string.
BIP-32 turns the seed into a master key and a tree of individual private keys. This is the key hierarchy behind an HD wallet.
Seed derivation can process any sentence. Software must check the checksum and warn if it fails, but need not refuse the sentence. Words, passphrases and wordlist language choices affect the seed. The conversion is one-way, so an arbitrary BIP-32 seed cannot be converted back into a corresponding mnemonic sentence. The seed phrase guide covers backup, theft, derivation paths and the passphrase in practice.
The ten official wordlists each contain 2,048 words. They cover English, Japanese, Korean, Spanish, Simplified Chinese, Traditional Chinese, French, Italian, Czech and Portuguese. These lists are published in the bitcoin/bips repository, with language-specific rules alongside the shared encoding specification. The standard notes that most wallets support only English. It is "strongly discouraged to use non-English wordlists for generating the mnemonic sentences". The language selected for a mnemonic phrase therefore affects both seed calculation and compatibility.
The 12 word numbers stay unchanged, but PBKDF2 processes different text. This language therefore opens a different wallet.
Only public BIP-39 test vectors are used, with an empty passphrase. Never fund these addresses.
Spanish shares no exact words with other lists, but removing accents produces 49 matches. French and Spanish matching ignores accents. Japanese ideographic spaces normalize to ordinary spaces. In October 2026, Trezor, Ledger, MetaMask, Sparrow and Coldcard accept English phrases only, while ethstaker-deposit-cli and btcrecover accept all ten languages. The last list was added in December 2020, and new ones have been declined since July 2021.
The first four letters identify each English list word. This supports wallet autocomplete, short hardware input and four-letter metal backups. Yet 49 three-letter entries, including "act", also start longer words such as "action". Completing a short word is different from narrowing the candidates to one. Format matters too. SLIP-39 shares 750 four-letter prefixes with the English list, but 197 name different words. For example, "acro" is "across" in BIP-39 and "acrobat" in SLIP-39.
Spanish and French treat accents as plain letters when matching prefixes. Italian, Czech and Portuguese have no accents. All six Latin-script lists distinguish words within four letters, counting complete short words separately. In English, 34 entries become unique after two letters, 604 after three and 1,361 after four. Italian includes 151 nine-letter words, despite its notes specifying four to eight. Japanese needs at most three kana, Korean at most two syllables, and each Chinese word is a single character.
English has 49 short, complete words like act that also start longer words. The SLIP-39 line shows when the same four letters mean another word.
These counts were computed from the official wordlists in the bitcoin/bips repository on 21 October 2026.
Mnemonic formats differ even when words look familiar. BIP-39's shortcomings section, added on 24 July 2026, explains that the seed depends on the wordlist. Its checksum is short and cannot correct errors. There is no versioning. A Related Work section added the same day says the authors proposed SLIP-39 as "an intended successor".
| Format | Words | What the words carry | How errors are caught |
|---|---|---|---|
| BIP-39 | Words12, 15, 18, 21 or 24 words, ten 2,048-word lists | What the words carryEntropy plus appended check bits | How errors are caughtTruncated SHA-256 checksum for detecting some errors |
| Electrum | WordsAbout 12 words from BIP-39's English list | What the words carry132 random bits, selected for a matching seed version | How errors are caughtHMAC-SHA512 seed version prefixes, including 01 for standard and 100 for segwit |
| Monero | Words25 words from 1,626-word lists in 12 languages | What the words carryThe 32-byte private spend key in the first 24 words | How errors are caughtCRC-32 over prefixes, selecting a repeated word as the checksum |
| Polyseed | Words16 words from 2,048-word lists in ten languages | What the words carry150 secret bits, five feature bits and ten wallet birthday bits | How errors are caughtPolynomial check detecting every single-word error |
| SLIP-39 | WordsUsually 20 or 33 words per share, separate 1,024-word English list | What the words carryShamir share identification, iteration exponent, grouping data and share value | How errors are caughtReed-Solomon checksum detecting errors affecting up to three words |
| aezeed | Words24 words from the 2,048-word English list | What the words carryEncrypted entropy, version and wallet birthday, with salt and check data | How errors are caughtVersion byte and CRC-32C validation of encoded data |
| Cardano | Words15 words (Yoroi) or 24 (Daedalus, Lace), BIP-39 words | What the words carryEntropy used for Cardano's own master key generation | How errors are caughtThe usual SHA-256 word checksum |
| Polkadot and Substrate | Words12, 15, 18, 21 or 24 words from a 2,048-word English list | What the words carryEntropy rather than mnemonic text as the input to seed derivation | How errors are caughtThe usual SHA-256 checksum over the entropy |
| Algorand | Words25 words from the 2,048-word English list | What the words carryThe 32-byte private key itself, without PBKDF2 or a passphrase | How errors are caughtSHA-512/256 key checksum, plus zero padding in word 24 |
The four-bit check misses 1,459 of 24,564 tested substitutions, or 5.94%. An accepted typo usually opens a different, empty wallet.
The eight-bit check misses 203 of 49,128 substitutions, or 0.41%. More check bits catch more typos, but not every wrong word.
The seed version check accepts six substitutions as segwit and 119 as other types. A typo can therefore change the wallet structure.
The repeated-word check accepts 1,598 substitutions, or 3.93%. Neither changing the check word nor changing the word it repeats passes.
Its polynomial check rejects all 32,752 substitutions tested. It detects every single-word error and can correct one missing word.
The Reed-Solomon check rejects all 20,460 substitutions tested. It guarantees detection of errors affecting up to three words in a share.
The version byte and CRC-32C reject all 49,128 substitutions tested. A single wrong word fails these checks in this test phrase.
The key hash check accepts 21 substitutions, or 0.041%. A wrong word can pass, usually producing a different, empty wallet.
Every one-word change was tested on the public test phrase shown for each format on 21 October 2026.
BIP-85 derives child mnemonics from one master seed. The codex32 format uses 48 characters for 128-bit seeds or 74 for 256-bit seeds, with checksums that can be verified by hand. The ethstaker-deposit-cli tool creates a 24-word BIP-39 mnemonic in any of ten languages before deriving validator keys. A mnemonic phrase works only in software implementing the same format, regardless of familiar words or matching length.
Length alone does not establish randomness. A mnemonic phrase can have the right number of words and still come from a weak source. Generation must start with unpredictable bits, then apply the format's encoding and checks. Choosing words first reverses that process.
Start with a device or operating system random generator. A hardware wallet can combine device-generated values with user-supplied randomness, as Coldcard does with dice.
Use 50 fair dice rolls for 12 words or 100 for 24. Fair coins require 128 or 256 flips. Coldcard and SeedSigner request at least 99 rolls, about 255.9 bits, for 24 words.
A person-selected mnemonic phrase is not the computer-generated randomness BIP-39 encodes. Books, lyrics and personal details create a brain wallet, not a sound entropy source.
Verify generation and import against each format's public test vectors. The python-mnemonic vectors use passphrase "TREZOR". Audit wallet code, including randomness and normalization. Never fund public test phrases.
Weak-generator cases include Trust Wallet's late 2022 extension and Libbitcoin Explorer's August 2023 disclosure, both using 32-bit entropy, plus Coinkite's 30 July 2026 Coldcard report. A passing check validates the encoding, not the quality of its randomness. Reviewing the generator is therefore separate from checking the finished words.
An import screen may reject a mnemonic phrase because the format, length or language is unsupported. A BIP-39 importer cannot interpret a 25-word Monero or Algorand phrase, or a 20-word SLIP-39 share. Electrum generates its own seed format. Word count alone cannot identify an encoding, because several schemes share both their length and their vocabulary. In particular, a 24-word aezeed phrase passes BIP-39's checksum about once in 256, opening an unrelated wallet.
Accepted words do not guarantee matching accounts. Cardano's Icarus scheme derives keys from entropy using PBKDF2-HMAC-SHA512 with 4,096 iterations. Substrate also applies PBKDF2 to entropy rather than the mnemonic text. Other wallets can differ in derivation paths or an optional passphrase. BIP-39 words do not record the format, the wordlist language, the passphrase or the derivation path. Before moving funds, confirm the source format, supported language and key-generation method, then check that the destination shows the expected accounts.
A mnemonic input field sits between human-readable words and key-generation code. PixelPlex treats that boundary as several engineering tasks, not one text-validation rule. Its crypto wallet development work separates encoding, interpretation and import behavior. The wallet development guide provides broader context for teams planning an application around those flows.
PixelPlex built Qtum Wallet, which backs up private keys with a 12-word seed phrase and adds Shamir's secret sharing. It also built Console Wallet for the Canton Network, where there is no seed phrase to back up or lose. The two projects show that mnemonic support follows from a wallet's key-management design.
Plan mnemonic support for your wallet project
We can discuss supported formats, import behavior and test coverage for your wallet, without assuming every design needs recovery words.
Discuss wallet requirementsGet updates about blockchain, technologies and our company
We will process the personal data you provide in accordance with our Privacy policy. You can unsubscribe or change your preferences at any time by clicking the link in any email.Services
Blockchain
Blockchain consultingStrategy, architecture, feasibility
Crypto wallet developmentSelf-custody, MPC, cards on top
Cryptocurrency exchange developmentTrading venues, liquidity and protocols
Tokenization servicesRWA, funds, collateral
Crypto payments developmentAccept, settle and pay out in crypto
Smart contracts developmentDesign, build, audit
Blockchain integration dApp development DeFi development NFTs Tokens Web3 development All blockchain services All servicesNetworks
Canton developmentDaml apps, wallets, settlement, validators
Official Partner
Ethereum developmentSmart contracts, L2s and dApps
Solana developmentHigh-throughput programs and dApps
TON developmentMini apps, wallets, Telegram ecosystem
Official Partner
Hedera developmentHashgraph apps and token services
Exclusive Partner
Hyperledger developmentPermissioned networks for enterprises
Certified Partner
Cardano Algorand Stellar Avalanche Bitcoin Polygon All networks All servicesAI & ML
AI agents developmentConnect tools and automate multi-step workflows
RAG developmentFind answers across your company’s documents and systems
AI copilot developmentAdd useful assistance to your product or internal tools
LLM developmentCustom and fine-tuned models for your domain
Private AI deploymentRun models in your own environment
AI consultingUse cases, feasibility and a roadmap
Generative AI development Machine learning development Computer vision Chatbot development ChatGPT integration Deep learning development All AI services All servicesData & analytics
Data engineeringPipelines that keep your data reliable
Data platform developmentOne source of truth for analytics
Analytics & dashboards developmentBI your teams actually use
Predictive analyticsForecasts built on your own history
Data strategyWhere data can pay off first
Data visualizationDashboards and visual stories from your data
Data science development Development of data marts All data services All servicesSoftware
Product discoveryValidate scope and cost before you build
MVP developmentA launch-ready first release
Web application developmentPlatforms, portals and internal tools
Mobile app developmentiOS, Android and cross-platform
SaaS developmentMulti-tenant products that scale
Software integrationConnect the systems you already run
Infrastructure & cloud cost UI/UX design IT consulting QA & software testing R&D Serverless development All software services All servicesSecurity & compliance
Smart contract auditsFind vulnerabilities before launch
Transaction monitoring developmentIntercepta inside your systems and processes
Security assessmentsTest apps, infrastructure and processes
Data security servicesProtect sensitive data across its lifecycle
Cloud security servicesSecure cloud workloads and configurations
DAML smart contract auditReview DAML contracts before they go live
All security services All servicesSolutions
Products, APIs and platforms
New
Products and engineering to build and operate on Canton.
In production 55M API requests served in 8 months
Crypto APIBlockchain data for your applications.
Power in numbers 6 TB Data storage. 500K Tokens indexed
RWA platformA foundation for your asset tokenization platform.
Time to launch 2–4 weeks Branding & setup. 90% more cost-efficient
DocFlowBlockchain-based document management.
Use case & value 100% Secure workflows. Zero third-party risks.
OTC Hawk Arbitrage Bot Book a solution consultWork
450+ projects. 250+ clients. 3 unicorns in portfolio
The first non-custodial wallet built natively for Canton
TON ecosystemA series of improvements for The Open Network
Mining platformEnvironmentally friendly web platform for Bitcoin pool mining
Mantra DAOCommunity-governed DeFi: 60+ staking pools, $23M TVL
Canton TON Web3 & DeFi Digital Assets & Tokenization AI & Data Intelligence IoT & Edge Computing Consulting See all projectsIndustries
Trusted by startups, small businesses, and enterprises
Banking, payments, lending, insurance, capital markets
Real estate software developmentInvestment, property operations, tokenization
Retail & commerce software developmentCommerce, loyalty and fulfillment
Supply chain software developmentTraceability and connected operations
Healthcare software developmentPatient services, data and connected systems
Banking software developmentCore banking, digital channels, payments
Fitness Education Oil & Gas Insurance Construction TravelCompany
From R&D to launch, we bring any of your ideas to life
Engineering partner. Product builder. Since 2007.
Technical experience 19+ years All competencies on board. Scalable team.
AchievementsIndustry recognition & awards.
Delivering real value 4.9 Clutch ratings. 150+ awards
Contact usDiscuss your project.
Quick response 30 min Average reply time. Offices in 6 countries
BlogDive into the latest software trends.
Fresh insights 500+ Articles in blockchain, AI, big data, AR/VR
Team Careers Social responsibility Glossary