Bitcoin Forum
May 28, 2024, 01:40:51 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What is the source of randomness for different wallets/websites?  (Read 392 times)
lukaexpl (OP)
Full Member
***
Offline Offline

Activity: 148
Merit: 106


View Profile
August 18, 2017, 08:27:13 PM
Merited by ABCbits (1)
 #1

As I read more and more about how this stuff works under the hood, one realizes that many wallets (Electrum, Mycelium, Blockchain.info, Trezor) rely on mnemonic seed generation both as a seed and as a backup option in case you lose or want to port your private keys to another wallet.

Only on bitcoinaddress.org site do you actually "see" the process or randomization.

What is the source of randomness for other wallets/services mentioned?

And what makes chosing 12 words out of a fixed list of 2048 words such a good source of protection?
ranochigo
Legendary
*
Offline Offline

Activity: 2982
Merit: 4193



View Profile
August 19, 2017, 01:00:24 PM
 #2

As I read more and more about how this stuff works under the hood, one realizes that many wallets (Electrum, Mycelium, Blockchain.info, Trezor) rely on mnemonic seed generation both as a seed and as a backup option in case you lose or want to port your private keys to another wallet.

Only on bitcoinaddress.org site do you actually "see" the process or randomization.
What is the source of randomness for other wallets/services mentioned?
Bitaddress.org also uses window.crypto.getRandomValues in the browser for entropy, other than your keyboard and mouse.

For most online wallets, they rely on their own servers to generate the entropy. For desktop wallets like Electrum, I strongly believe they are using the entropy from the RNG in the OS. Mycelium uses RNG from /dev/urandom for entropy.

And what makes chosing 12 words out of a fixed list of 2048 words such a good source of protection?
Probability. There are 2048 possible words for one letter in the 12 word seed and the entire 12 word seed would have 2048^12 possible combinations. The probability of anyone trying even 1/10000 of the seeds is remotely even possible. It would probably take several billion tries of seed per second and still take a few hundred/thousand years.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
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!