Bitcoin Forum
October 18, 2025, 06:58:34 PM *
News: Latest Bitcoin Core release: 30.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Question about passphrase after wallet creation  (Read 114 times)
xfuhmc (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
October 08, 2025, 02:20:09 AM
 #1

Hi everyone,

I created an Electrum wallet with 12 seed words. At that time, I didn’t enable the “custom words / passphrase” option.

Now I’m wondering: can I import this wallet with the same 12 seed words, and then add my own custom word (passphrase) to generate an extended wallet?

What is the difference between (1) enabling the passphrase option when creating the wallet from the beginning, and (2) creating a standard wallet first and only adding the passphrase later when importing the seed?

Thank you for your help!
rat03gopoh
Hero Member
*****
Offline Offline

Activity: 2464
Merit: 805


Betpanda.io Casino


View Profile WWW
October 08, 2025, 03:17:09 AM
Merited by pooya87 (5), Pmalek (3), Halab (2)
 #2

It's not the same.
(1) Electrum will automatically generate keys from the seed+passphrase. This means the private key, address, and balance will be completely different from those generated without the passphrase from the beginning.
(2) It's like generating a new wallet, while the "standar" wallet from the same seed without the passphrase can still be accessed with a different profile.

.
 betpanda.io 
 
ANONYMOUS & INSTANT
.......ONLINE CASINO.......
▄███████████████████████▄
█████████████████████████
█████████████████████████
████████▀▀▀▀▀▀███████████
████▀▀▀█░▀▀░░░░░░▄███████
████░▄▄█▄▄▀█▄░░░█▄░▄█████
████▀██▀░▄█▀░░░█▀░░██████
██████░░▄▀░░░░▐░░░▐█▄████
██████▄▄█░▀▀░░░█▄▄▄██████
█████████████████████████
█████████████████████████
█████████████████████████
▀███████████████████████▀
▄███████████████████████▄
█████████████████████████
██████████▀░░░▀██████████
█████████░░░░░░░█████████
███████░░░░░░░░░███████
████████░░░░░░░░░████████
█████████▄░░░░░▄█████████
███████▀▀▀█▄▄▄█▀▀▀███████
██████░░░░▄░▄░▄░░░░██████
██████░░░░█▀█▀█░░░░██████
██████░░░░░░░░░░░░░██████
█████████████████████████
▀███████████████████████▀
▄███████████████████████▄
█████████████████████████
██████████▀▀▀▀▀▀█████████
███████▀▀░░░░░░░░░███████
██████░░░░░░░░░░░░▀█████
██████░░░░░░░░░░░░░░▀████
██████▄░░░░░░▄▄░░░░░░████
████▀▀▀▀▀░░░█░░█░░░░░████
████░▀░▀░░░░░▀▀░░░░░█████
████░▀░▀▄░░░░░░▄▄▄▄██████
█████░▀░█████████████████
█████████████████████████
▀███████████████████████▀
.
SLOT GAMES
....SPORTS....
LIVE CASINO
▄░░▄█▄░░▄
▀█▀░▄▀▄░▀█▀
▄▄▄▄▄▄▄▄▄▄▄   
█████████████
█░░░░░░░░░░░█
█████████████

▄▀▄██▀▄▄▄▄▄███▄▀▄
▄▀▄█████▄██▄▀▄
▄▀▄▐▐▌▐▐▌▄▀▄
▄▀▄█▀██▀█▄▀▄
▄▀▄█████▀▄████▄▀▄
▀▄▀▄▀█████▀▄▀▄▀
▀▀▀▄█▀█▄▀▄▀▀

Regional Sponsor of the
Argentina National Team
nc50lc
Legendary
*
Offline Offline

Activity: 2940
Merit: 7783


Self-proclaimed Genius


View Profile
October 08, 2025, 05:59:41 AM
 #3

What is the difference between (1) enabling the passphrase option when creating the wallet from the beginning, and (2) creating a standard wallet first and only adding the passphrase later when importing the seed?
Nothing much in its keystore derivation process, it just the result that will obviously be different since the data you input are different.

Under the hood, Electrum does the same to the seed phrase and passphrase or seed phrase w/o a passphrase:
When creating the binary seed, it takes the seed phrase (mnemonic) and "electrum+<passphrase>" as salt; in case there's no passphrase, the salt is just "electrum"
And pass those to 2048 rounds of PBKDF2 HMAC-SHA512 algorithm.

Here's how it looks in the code: spesmilo/electrum/mnemonic.py#L170-L175

satscraper
Legendary
*
Offline Offline

Activity: 1260
Merit: 2221



View Profile
October 08, 2025, 06:41:04 AM
 #4

What is the difference between (1) enabling the passphrase option when creating the wallet from the beginning, and (2) creating a standard wallet first and only adding the passphrase later when importing the seed?
Nothing much in its keystore derivation process, it just the result that will obviously be different since the data you input are different.

Under the hood, Electrum does the same to the seed phrase and passphrase or seed phrase w/o a passphrase:
When creating the binary seed, it takes the seed phrase (mnemonic) and "electrum+<passphrase>" as salt; in case there's no passphrase, the salt is just "electrum"
And pass those to 2048 rounds of PBKDF2 HMAC-SHA512 algorithm.

Here's how it looks in the code: spesmilo/electrum/mnemonic.py#L170-L175

Just to stretch this a bit for OP.

PBKDF2 algorithm requires two inputs.One of those is  'mnemonic' while the other is 'salt'. In the case of OP when he prefered not to set the passphrase, 'salt'equals to string "mnemonic". However, if OP provided the passphrase, let's say "bla_bla_bla", the salt becomes the concatenation of "mnemonic" and the passphrase, resulting in "mnemonicbla_bla_bla". Essentially, the passphrase is appended to the "mnemonic" string to form the salt.


███████▄▄███▄███▄
███▄▄████████▌██
▄█████████████▐██▌
██▄███████████▌█▌
███████▀██████▐▌█
██████████████▌▌▐
████████▄███████▐▐
█████████████████
███████████████▄██▄
██████████████▀▀▀
█████▀███▀▀▀

▄▄▄██████▄▄▄███████▄▄▄
███████████████████████████
███▌█████▀███▌█████▀▀███████████▄▄▄▄▄▄▄▄
███▌█████▄███▌█████▄███▐███████████████████▄
▐████████████▀███████▄██████████▀▀▀▀▀▀▀▀████▀
▐████████████▄██▄███████████▌█████████▄████▀
▐█████████▀█████████▌█████████████▄▄████▀
██████████▄███████████▐███▌██▄██████▀
██████████████▀███▐███▌██████████████████████
████▀██████▀▀█████████▌███▀▀▀▀███▀▀▀▀▀▀▀████▌
 
      P R E M I E R   B I T C O I N   C A S I N O   &   S P O R T S B O O K      

█▀▀









▀▀▀

▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

  98%  
RTP

 
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

▀▀█









▀▀▀

█▀▀









▀▀▀

▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

 HIGH 
ODDS

 
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

▀▀█









▀▀▀
 
..PLAY NOW..
nc50lc
Legendary
*
Offline Offline

Activity: 2940
Merit: 7783


Self-proclaimed Genius


View Profile
October 08, 2025, 06:58:25 AM
Merited by hosemary (1), satscraper (1)
 #5

Just to stretch this a bit for OP.
A little correction though, 'mnemonic' is for BIP39.
Electrum implements it like this: spesmilo/electrum/keystore.py#L1003-L1010

In Electrum, the salt is 'electrum' + seed phrase extension (passphrase) like I mentioned in my reply.
Refer to the link I've provided for reference.

Abdussamad
Legendary
*
Offline Offline

Activity: 3890
Merit: 1664



View Profile
October 08, 2025, 07:36:22 AM
 #6

Hi everyone,

I created an Electrum wallet with 12 seed words. At that time, I didn’t enable the “custom words / passphrase” option.

Now I’m wondering: can I import this wallet with the same 12 seed words, and then add my own custom word (passphrase) to generate an extended wallet?

Yes.
Quote
What is the difference between (1) enabling the passphrase option when creating the wallet from the beginning, and (2) creating a standard wallet first and only adding the passphrase later when importing the seed?

Thank you for your help!

It'll generate a completely new wallet with different addresses than the passphrase-less one.
satscraper
Legendary
*
Offline Offline

Activity: 1260
Merit: 2221



View Profile
October 08, 2025, 08:16:09 AM
 #7

Just to stretch this a bit for OP.
A little correction though, 'mnemonic' is for BIP39.
Electrum implements it like this: spesmilo/electrum/keystore.py#L1003-L1010

In Electrum, the salt is 'electrum' + seed phrase extension (passphrase) like I mentioned in my reply.
Refer to the link I've provided for reference.

Nice correction, but we can't be sure which SEED scheme OP uses, whether it's native Electrum or BIP39 default is Electrum but thiswallet supports both. I mentioned BIP39 because it’s my preferred scheme, as it's widely used by nearly all other major wallets. On the other hand, Electrum's native approach is unique and requires you to use that specific wallet if anything unexpected happens.


███████▄▄███▄███▄
███▄▄████████▌██
▄█████████████▐██▌
██▄███████████▌█▌
███████▀██████▐▌█
██████████████▌▌▐
████████▄███████▐▐
█████████████████
███████████████▄██▄
██████████████▀▀▀
█████▀███▀▀▀

▄▄▄██████▄▄▄███████▄▄▄
███████████████████████████
███▌█████▀███▌█████▀▀███████████▄▄▄▄▄▄▄▄
███▌█████▄███▌█████▄███▐███████████████████▄
▐████████████▀███████▄██████████▀▀▀▀▀▀▀▀████▀
▐████████████▄██▄███████████▌█████████▄████▀
▐█████████▀█████████▌█████████████▄▄████▀
██████████▄███████████▐███▌██▄██████▀
██████████████▀███▐███▌██████████████████████
████▀██████▀▀█████████▌███▀▀▀▀███▀▀▀▀▀▀▀████▌
 
      P R E M I E R   B I T C O I N   C A S I N O   &   S P O R T S B O O K      

█▀▀









▀▀▀

▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

  98%  
RTP

 
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

▀▀█









▀▀▀

█▀▀









▀▀▀

▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

 HIGH 
ODDS

 
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

▀▀█









▀▀▀
 
..PLAY NOW..
xfuhmc (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
October 09, 2025, 11:05:47 AM
 #8

Thank you everyone for the detailed explanations!
It helps a lot.
Pmalek
Legendary
*
Offline Offline

Activity: 3290
Merit: 8662



View Profile
October 12, 2025, 04:57:52 PM
Merited by Forsyth Jones (1)
 #9

A wallet without an additional passphrase is completely different from one with a passphrase. You can't turn one into the other. If you have a funded wallet with no passphrase and you tried to recover it, you will have to leave the passphrase field empty to see the bitcoin in your software. Anything you add as passphrase would create a brand-new and empty wallet and not the one you funded in the past.

You can still extend an existing wallet with one or multiple custom passphrases that you can fund and use in the future. But when it becomes time to recover those new wallets, you will also have to input the correct passphrase exactly as you typed it in during the creation process. 

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
OcTradism
Hero Member
*****
Offline Offline

Activity: 2268
Merit: 985


Lowest juice, High odds, No player limitations


View Profile
Today at 10:40:54 AM
 #10

It's not the same.
(1) Electrum will automatically generate keys from the seed+passphrase. This means the private key, address, and balance will be completely different from those generated without the passphrase from the beginning.
(2) It's like generating a new wallet, while the "standar" wallet from the same seed without the passphrase can still be accessed with a different profile.
To help OP more easily learn about difference between a wallet with mnemonic seed and another wallet with same mnemonic seed and a passphrase.
https://learnmeabitcoin.com/beginners/security/#passphrase

The passphrase is important as same as the wallet mnemonic seed as without one of them, you can not recover a wallet as your original wallet. Wallet passphrase is like a second layer of your wallet security and protection so making sure storing it in a different place than where you store your wallet mnemonic seed. Trying to remember that wallet passphrase too.

█████████████
█████████████
█████████████
██▄▄▀▀███▄▄██
█░░░█░░░▀▄█
█▀▄▄██▄░░░███
█░░████▀▀▀▀██
█░█▀▀█░░░░█░█

███░░█▄▄█░█

██▀▀█████▀▀██

█████████████

█████████████

█████████████
█████████████
█████████████
█████████████
██▄▄██░██▄▄██
██▄▀█░█▀▄██
█▀▀▄░▄░▄░▄▀▀█
▄██▀▄█░█▄▀██▄
██░███░███░██

█████░█████

██▀▀██░██▀▀██

█████████████

█████████████

█████████████
 
   bet105     WHERE THE PROS PLAY            BET NO         
 
A R B I T R A G E   B E T      │      L O W   J U I C E     │     B E S T   O D D S      │      N O   K Y C   R E Q U I R E D
█████████████
█████████████
█████████████
█████░▀████
██████▄░▀███
███▀█▀█▄░▀█
▄▀██▄▀▄▀███▄▀
█▄░▀▄█▄████
███▄░▀██████

████▄░█████

█████████████

█████████████

█████████████
█████████████
█████████████
█████████████
██░█████░██
█▌▐█████▌▐█
██░███████░██
█▌▐███████▌▐█
██░███████░██

██▄▀▀▀▀▀▄██
██▀▀█████▀▀██
█████████████

█████████████

█████████████
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!