Glossary · Wallets and keys
Published 27 Apr 2025 · Updated 20 Oct 2026 · 10 min read
A brain wallet is a cryptocurrency wallet whose private key comes from a passphrase the owner memorizes. The classic version hashes the phrase into the key, often with a single SHA-256, so anyone who guesses the phrase controls the funds. Today the term also covers a memorized seed phrase, a different and much stronger secret.
The appeal was simplicity. There is nothing to write down, nothing physical to lose in a fire or a burglary, and the same phrase opens the wallet on any computer. The catch is that anyone else who types that phrase can do the same. In the classic Bitcoin version, four steps turn the phrase into an address. Some tools for the Ethereum network used keccak256 instead of SHA-256.
The human phrase is the only secret in this setup. It replaces computer-generated randomness, so its unpredictability determines how difficult the resulting wallet is to guess.
A hash function converts the phrase into a 256-bit value. Classic tools often use plain SHA-256 without a salt, so identical phrases always produce identical results.
That value becomes the Bitcoin private key, a 256-bit number. The corresponding public key is computed from it using the secp256k1 curve.
The public key is hashed with SHA-256, then RIPEMD-160. A version byte and checksum are added before Base58 encoding. Compressed and uncompressed public keys produce different addresses.
Phrases are fixed. Explorer figures date to 20 October 2026. This page never turns typed text into keys.
The output can look complex even when the input is easy to predict. Cryptographic entropy measures uncertainty, not the number of characters displayed. A 256-bit key does not give a human phrase 256 bits of randomness. The weakness starts before the key exists.
People often choose recognizable language rather than random inputs. A phrase can be long yet predictable, especially when it comes from a published book or quotation.
Without a salt, one phrase guess tests every brain wallet using that derivation at once. Attackers can reuse the result against everyone who chose that phrase.
Plain SHA-256 makes guesses cheap to test. In 2016, researchers estimated a cloud cost of about 56 dollars to check a trillion passwords.
A phrase-derived key cannot be reset like a password. If the phrase leaks or is guessed later, protecting the funds requires moving them to a new wallet.
Entropy figures follow Diceware and BIP-39. Attacker speeds are round sample numbers, not benchmark results.
Attackers hash huge phrase lists in advance, compute the addresses and watch them. This dictionary attack draws on leaked passwords, dictionaries, Wikipedia, quotes and lines from famous books. The February 2016 Brain Drain study evaluated about 300 billion candidate passwords, and a 2017 follow-up used 3.9 trillion. Castellucci's tool ran about 130,000 guesses a second on one machine in 2015, and a 2016 speed study made it about 2.5 times faster.
The February 2016 study found 884 brain wallets receiving 1,806 BTC between September 2011 and August 2015. It reported that 98% were drained at least once. Half of the wallets were drained in 21 minutes or less. At least 14 drainers competed. By September 2013, measured drain times had fallen to minutes and seconds. The researchers found no evidence that people holding more bitcoin chose stronger passwords.
This sequence is simplified. The 0.670 s timing comes from the October 2020 BitMEX Research test.
Bitcoin and most other cryptocurrency networks publish every transaction, so every deposit and sweep is on the record. Weak key generators caused similar failures without a passphrase. The Profanity vanity address tool for Ethereum exposed keys in 2022, and the Libbitcoin Explorer "Milk Sad" flaw led to thefts in 2023. Those were not brain wallets.
The February 2016 study traced its earliest brain wallet to the phrase "one two three four five six seven".
Ryan Castellucci presented his cracking research at DEF CON 23 and released Brainflayer on 7 August 2015. That day, brainwallet.org closed permanently. A press report linked the shutdown to the talk.
The Bitcoin Brain Drain, by Vasek, Bonneau, Castellucci, Keith and Moore, was presented at Financial Cryptography 2016. It found that 98% of the brain wallets it identified were drained at least once.
BitMEX Research funded eight wallets made from famous texts. All were swept within a day, one of them 0.670 seconds after BitMEX's own node saw the deposit. Three lost funds before confirmation.
The Milk Sad team found at least 20,397 Bitcoin addresses from single-SHA-256 brain wallets, with 3,606.59 BTC moved through them over the years, plus 156 on Ethereum.
In a brain wallet, a human phrase is the secret. BIP-39 represents random entropy as words, while a hardware wallet keeps private keys inside a device.
| Brain wallet | BIP-39 seed phrase | Hardware wallet | |
|---|---|---|---|
| Secret source | Brain walletA person chooses the phrase that becomes the private key. | BIP-39 seed phraseThe wallet encodes computer-generated randomness as 12 to 24 words. | Hardware walletThe device generates private keys and keeps them inside. |
| Strength | Brain walletSecurity depends on the unpredictability of a human choice. | BIP-39 seed phraseA standard phrase carries 128 to 256 bits of random entropy. | Hardware walletKeys come from the device's own randomness and never leave it. |
| Precomputed guesses | Brain walletUnsalted derivation lets attackers prepare keys from phrase lists. | BIP-39 seed phraseNot feasible with a sound generator. Phrase lists cannot predict random entropy. | Hardware walletNot feasible with a sound device. Phrase lists cannot predict its keys. |
| Recovery | Brain walletIf the phrase is forgotten, or the owner dies or is permanently incapacitated, funds are lost. | BIP-39 seed phraseThe seed phrase carries the random secret used for recovery. | Hardware walletDevice-held keys still require a separate plan for recovering access. |
| Current advice | Brain walletThe Bitcoin Wiki, last edited in June 2026, says not to use it. | BIP-39 seed phraseUse wallet-generated words rather than sentences you create yourself. | Hardware walletUse device-generated keys, not keys derived from a chosen phrase. |
A seed phrase records a random secret in words, while a hardware wallet is about where keys are generated and kept. Those words still represent randomness if you memorize them.
For funds still in a brain wallet, the Bitcoin Wiki (last edited in June 2026) advises moving them to a modern wallet as soon as possible. The options below cover how secrets are generated, where keys stay and how access is recovered. Each solves a different problem.
Introduced in 2013, BIP-39 transcribes computer-generated randomness into readable words. BIP-32 HD wallets can derive many keys from one random seed, rather than requiring a separate memorized phrase for each key.
An optional BIP-39 passphrase adds another secret to a random seed. Each passphrase opens a different wallet. Unlike a brain wallet, the random seed remains the main secret.
A hardware wallet generates private keys inside a secure device and keeps them there. The keys never leave it, and they do not come from a phrase the owner invents.
Multisig wallets, multi-party computation (MPC) and ERC-4337 smart accounts with social recovery remove reliance on one secret. MPC distributes shares across devices without assembling the full key.
We design how a wallet creates secrets, stores keys and recovers access as one system. Our crypto wallet development work covers mobile, browser extension, desktop and white-label products, including custodial and non-custodial wallets. Through our blockchain development services, we help teams decide who holds keys, who approves transactions and how users keep access.
We built Console Wallet, a self-custodial wallet with more than 250K registered users across its browser extension and its iOS and Android apps. Private keys stay on the user's device, protected by passkey-based approvals. There is no seed phrase to back up or lose.
Discuss your wallet's key and recovery design
We can discuss your custody model, key generation and recovery requirements before you decide how to build.
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