<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.bitcoin.it/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Misterpsd</id>
	<title>Bitcoin Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://en.bitcoin.it/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Misterpsd"/>
	<link rel="alternate" type="text/html" href="https://en.bitcoin.it/wiki/Special:Contributions/Misterpsd"/>
	<updated>2026-06-24T15:34:49Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=Brainwallet&amp;diff=71060</id>
		<title>Brainwallet</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=Brainwallet&amp;diff=71060"/>
		<updated>2026-06-21T09:27:50Z</updated>

		<summary type="html">&lt;p&gt;Misterpsd: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A &#039;&#039;&#039;brainwallet&#039;&#039;&#039; is a method of controlling Bitcoin funds by memorizing wallet recovery data, usually a [[seed phrase]], rather than storing it on paper or another physical or digital medium. If the seed phrase is not recorded anywhere, access to the bitcoins depends entirely on the owner&#039;s memory. If the phrase is forgotten, or if the owner dies or becomes permanently incapacitated, the bitcoins are lost forever. Memory techniques can make a seed phrase easier to memorize and recall, but they do not remove the risk of memory failure.&lt;br /&gt;
&lt;br /&gt;
A brainwallet can be created by using Bitcoin wallet software to generate a seed phrase and then memorizing it. Examples of wallets that generate seed phrases include [[Electrum]], [[Armory]] and [[Mycelium]].&lt;br /&gt;
&lt;br /&gt;
Brainwallets are not recommended for general use because human memory is fallible and human-chosen secrets are often weak. In limited circumstances, such as when someone must flee a country without carrying physical storage media, a memorized seed may be considered. Even then, the risks should be understood carefully.&lt;br /&gt;
&lt;br /&gt;
== Worked example ==&lt;br /&gt;
&lt;br /&gt;
# Use wallet software such as [[Electrum]] to generate a new [[seed phrase]].&lt;br /&gt;
# Memorize the phrase using a mnemonic technique such as the [https://en.wikipedia.org/wiki/Method_of_loci method of loci].&lt;br /&gt;
# When spending or recovering funds, restore the wallet from memory using the seed phrase.&lt;br /&gt;
&lt;br /&gt;
=== Example memory palace technique ===&lt;br /&gt;
&lt;br /&gt;
The method of loci, also known as a memory palace, associates each word with a vivid image placed along a familiar route. The route might be a childhood home, workplace, school, or another place that is easy to visualize. The images should be distinctive and emotionally memorable so that each location prompts recall of the corresponding word.&lt;br /&gt;
&lt;br /&gt;
For example, consider this seed phrase:&lt;br /&gt;
&lt;br /&gt;
    witch collapse practice feed shame open despair creek road again ice least&lt;br /&gt;
&lt;br /&gt;
One possible memory palace could use a familiar building:&lt;br /&gt;
&lt;br /&gt;
* In the first room, your mother is dressed as a &#039;&#039;&#039;witch&#039;&#039;&#039; while playing Jenga until the tower &#039;&#039;&#039;collapses&#039;&#039;&#039;.&lt;br /&gt;
* In the next room, your father is &#039;&#039;&#039;practising&#039;&#039;&#039; with a longbow and shoots a chicken to &#039;&#039;&#039;feed&#039;&#039;&#039; himself.&lt;br /&gt;
* In another room, your brother looks ashamed and tries to cover a torn shirt while a window is &#039;&#039;&#039;open&#039;&#039;&#039; and flapping in the wind.&lt;br /&gt;
* In the kitchen, your partner is looking at Picasso&#039;s [https://en.wikipedia.org/wiki/Guernica_%28Picasso%29 Guernica] on the wall and is in &#039;&#039;&#039;despair&#039;&#039;&#039;. Next to it, a television is playing Dawson&#039;s &#039;&#039;&#039;Creek&#039;&#039;&#039;.&lt;br /&gt;
* In the garage, a childhood friend is preparing for a &#039;&#039;&#039;road&#039;&#039;&#039; trip for the fifth time this month, so he is going &#039;&#039;&#039;again&#039;&#039;&#039;.&lt;br /&gt;
* Outside in the garden, the ground is covered in melting &#039;&#039;&#039;ice&#039;&#039;&#039;. Two friends have baskets of apples, while you are holding only a few, giving you the &#039;&#039;&#039;least&#039;&#039;&#039; apples.&lt;br /&gt;
&lt;br /&gt;
Repeating the route several times over the first few days can make recall easier. However, relying on memory alone is still risky and is not recommended as the only backup method.&lt;br /&gt;
&lt;br /&gt;
=== Video example of the method of loci ===&lt;br /&gt;
&lt;br /&gt;
The BBC documentary &#039;&#039;The Human Mind&#039;&#039; (2003), presented by Professor Robert Winston, includes an example of memorizing a list of 30 random words at approximately 31 minutes in:&lt;br /&gt;
&lt;br /&gt;
https://www.youtube.com/watch?v=lRhfQCW1f68&amp;amp;t=1867&lt;br /&gt;
&lt;br /&gt;
=== Fallible memory warning ===&lt;br /&gt;
&lt;br /&gt;
Human memory can fail even when mnemonic techniques are used. A memorized seed may become distorted, incomplete, or inaccessible after illness, trauma, stress, aging, or a long period without rehearsal.&lt;br /&gt;
&lt;br /&gt;
Wallet recovery data should generally be backed up. Storing a seed phrase in only one place is dangerous, even if that place is the owner&#039;s memory.&lt;br /&gt;
&lt;br /&gt;
== Obsolete brainwallet style ==&lt;br /&gt;
&lt;br /&gt;
An early form of brainwallet was created by memorizing a passphrase and converting it into a [[private key]] with a hashing or key derivation algorithm, such as a single SHA256 operation. The resulting private key was then used to compute a Bitcoin address. This method was found to be highly insecure and &#039;&#039;&#039;should not be used&#039;&#039;&#039;. Humans are not a reliable source of entropy, and using a single address also creates problems associated with [[address reuse]].&lt;br /&gt;
&lt;br /&gt;
=== Memory-hard deterministic derivation ===&lt;br /&gt;
&lt;br /&gt;
Some later deterministic schemes derive wallet seed material from a passphrase or other user-supplied secret, and may encode the derived entropy as a BIP39 mnemonic rather than directly producing a single private key and address. BIP39 defines a mnemonic code for generating deterministic wallets from entropy and a checksum.&amp;lt;ref&amp;gt;[https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki BIP-0039: Mnemonic code for generating deterministic keys]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To slow offline guessing, a deterministic brainwallet scheme may use a memory-hard key derivation function such as Argon2id instead of a single SHA256 operation. Argon2 is specified as a memory-hard function for password hashing and proof-of-work applications, and RFC 9106 describes Argon2id as its hybrid variant.&amp;lt;ref&amp;gt;[https://datatracker.ietf.org/doc/rfc9106/ RFC 9106: Argon2 Memory-Hard Function for Password Hashing and Proof-of-Work Applications]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This only increases the cost of each guess. It does not make ordinary human-chosen phrases safe. The security of a passphrase-derived wallet still depends on the entropy of the secret, the derivation parameters, the software implementation, and the operational environment used for generation and recovery. A precomputed hash may be used as an input only if it is itself treated as the secret; hashing a weak phrase does not make it high entropy.&lt;br /&gt;
&lt;br /&gt;
One implementation example is [https://brainwalletseed.com/ BrainWalletSeed], a client-side deterministic BIP39 brainwallet generator using Argon2id derivation. This does not change the security warnings above: memory-hard derivation can make guessing more expensive, but it does not make weak or human-chosen secrets safe.&lt;br /&gt;
&lt;br /&gt;
=== Low entropy from human-generated passphrases ===&lt;br /&gt;
&lt;br /&gt;
Human-generated passphrases often have much less entropy than users expect. Quotations, song lyrics, common phrases, keyboard patterns, dates, substitutions, and personally meaningful strings can be tested with dictionary attacks, rule-based attacks, and other offline guessing techniques. If a wallet is derived deterministically from a weak phrase, an attacker can search large numbers of candidate phrases and automatically take funds from any matching address.&amp;lt;ref&amp;gt;[https://bitcointalk.org/index.php?topic=311000.msg3345309#msg3345309 Re: hardening brain-wallets with a useful blind proof of work]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For this reason, human-generated passphrases should not be used as wallet secrets.&lt;br /&gt;
&lt;br /&gt;
=== Ryan Castellucci DEFCON talk ===&lt;br /&gt;
&lt;br /&gt;
Ryan Castellucci gave a talk at DEFCON 23 about cracking brainwallet passphrases. Although weak brainwallet passphrases had already been exploited for years, the talk helped bring wider attention to the issue.&amp;lt;ref&amp;gt;[https://rya.nc/cracking_cryptocurrency_brainwallets.pdf Ryan Castellucci DEFCON Talk]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[https://www.reddit.com/r/Bitcoin/comments/3g9f1s/why_im_releasing_a_brainwallet_cracker_at_defcon/ Reddit thread on Ryan Castellucci&#039;s talk]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[https://www.youtube.com/watch?v=foil0hzl4Pg Video of Ryan Castellucci&#039;s talk]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Legacy code ===&lt;br /&gt;
&lt;br /&gt;
If funds remain in an old-style brainwallet, the website http://www.bitaddress.org/ contains a GUI for generating the private key using the sha256(passphrase) algorithm. It is strongly recommended to move the funds to a modern wallet as soon as possible.&lt;br /&gt;
&lt;br /&gt;
= References =&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Instructional]]&lt;/div&gt;</summary>
		<author><name>Misterpsd</name></author>
	</entry>
</feed>