Bitcoin Forum
April 19, 2024, 03:06:59 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: How to I get rid of electrum?  (Read 304 times)
pooya87
Legendary
*
Offline Offline

Activity: 3430
Merit: 10491



View Profile
July 09, 2020, 04:02:44 AM
 #21

Does Electrum not work like BIP39 in the sense that you start with a random seed (ie. very large random number)... and then convert that seed to the mnemonic phrase? As opposed to generating a mnemonic phrase and then going from that to the seed?

yes, it is the same but with an additional step before converting the seed to mnemonic. here are the steps:
1. generate a random entropy/seed (which is random 132 bits to get 12 words)
2. convert the entropy to a mnemonic
3. compute HMACSHA512 of 2 using the key = "Seed version"
4. check if the initial 8-bit or 12-bits match the seed version you are trying to create. for example if you want a SegWit wallet it has to be 0x100 or 0b00010000_0000
5. if 4 failed then increment the entropy by 1 and restart at step 2 otherwise return the result

so basically each time you create an Electrum mnemonic you are using brute force to find one that gives you a certain initial "string", similar to what Vanity generators do!

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
1713539219
Hero Member
*
Offline Offline

Posts: 1713539219

View Profile Personal Message (Offline)

Ignore
1713539219
Reply with quote  #2

1713539219
Report to moderator
1713539219
Hero Member
*
Offline Offline

Posts: 1713539219

View Profile Personal Message (Offline)

Ignore
1713539219
Reply with quote  #2

1713539219
Report to moderator
The network tries to produce one block per 10 minutes. It does this by automatically adjusting how difficult it is to produce blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713539219
Hero Member
*
Offline Offline

Posts: 1713539219

View Profile Personal Message (Offline)

Ignore
1713539219
Reply with quote  #2

1713539219
Report to moderator
1713539219
Hero Member
*
Offline Offline

Posts: 1713539219

View Profile Personal Message (Offline)

Ignore
1713539219
Reply with quote  #2

1713539219
Report to moderator
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18504


View Profile
July 09, 2020, 08:40:12 AM
 #22

He used Electrum to generate a private key, which means that private key must have come from a seed phrase. Whether or not he backs up the seed phrase or not makes no difference to the fact that his address is only as secure as the seed phrase which generated it.
Does Electrum not work like BIP39 in the sense that you start with a random seed (ie. very large random number)... and then convert that seed to the mnemonic phrase? As opposed to generating a mnemonic phrase and then going from that to the seed? Huh
pooya has already answered, but you can see the relevant code here: https://github.com/spesmilo/electrum/blob/master/electrum/mnemonic.py#L190

My point wasn't about the order of generation, though - it was with OP's apparent distrust of seed phrases. If he incorrectly believes seed phrases are somehow insecure, or does not trust how Electrum generates them, then simply choosing not to back his up doesn't solve those issues. If he wants to avoid seed phrases altogether then he would need to generate individual private keys directly from an entropy source, such as flipping a coin.

Having said all that, even if he does that, then there would still be multiple possible seed phrases which would lead to that private key at some derivation path.
Pages: « 1 [2]  All
  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!