Bitcoin Forum
November 08, 2024, 07:31:15 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What is the connection between Seed and Private Key?  (Read 298 times)
cuttie018 (OP)
Jr. Member
*
Offline Offline

Activity: 56
Merit: 1


View Profile
August 29, 2019, 04:56:06 PM
 #1

I'm trying to understand what is the connection between them. I have the seed from Electrum wallet, but I don't have private keys. In Sibit, the command line client, I have private keys. How they are related?
AB de Royse777
Legendary
*
Offline Offline

Activity: 2660
Merit: 4125


Campaign Manager. My Telegram @Royse777


View Profile WWW
August 29, 2019, 04:59:51 PM
Merited by DdmrDdmr (1), dkbit98 (1)
 #2

I'm trying to understand what is the connection between them. I have the seed from Electrum wallet, but I don't have private keys. In Sibit, the command line client, I have private keys. How they are related?
You do have. Open the wallet then follow this:

Wallet -> Private keys -> Export

You can export them or you can copy and paste them in a notepad.


Read this:

In summary, a the private key is what lets you access the funds associated with one public address in your wallet. But when you create new public addresses for each new deposit to your wallet for security reasons, it also creates a new private key which means when you backup your wallet, you’ll have to save all these public key - private key pairs. Instead if your wallet is Deterministic, you could simply use the seed words to restore your wallet. Seed words can be used to programatically generate all the public key - private key pairs you own.

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
OmegaStarScream
Staff
Legendary
*
Offline Offline

Activity: 3654
Merit: 6430



View Profile
August 29, 2019, 05:04:22 PM
 #3

The private keys and addresses are derived from that seed. Take a look at these articles[1][2] for a better understanding.

[1] https://en.bitcoin.it/wiki/Seed_phrase (Explanation part)
[2] http://docs.electrum.org/en/latest/seedphrase.html

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
crairezx20
Legendary
*
Offline Offline

Activity: 1638
Merit: 1046



View Profile
August 29, 2019, 05:27:04 PM
 #4

A private key is for a single bitcoin address and Seed is a long series of words and all bitcoin address and private keys are inside of this seed.

You can only backup private key if you are planning to backup only a single bitcoin address.
But if you want to backup all private keys and BTC addresses from your wallet you should have a seed phrase in order to import it to other wallets.

bitmover
Legendary
*
Offline Offline

Activity: 2478
Merit: 6315


bitcoindata.science


View Profile WWW
August 29, 2019, 05:34:02 PM
 #5

The seed is everything you need to tell the software to generate all the privatekeys of your wallet.

All your privatekeys are mathematically related

BrewMaster
Legendary
*
Offline Offline

Activity: 2114
Merit: 1293


There is trouble abrewing


View Profile
August 29, 2019, 05:49:19 PM
 #6

every private key is just a number in a very big range. every time you generate a new key you are selecting a number at random in this range. like wanting to select a random number between 1 and 100 each time. now imagine if you had a formula that helped you choose that number in that range by only knowing 1 value as its input. a formula like this: number = c2+x3 for x = 0,1,2,... if you had your c=5 then you could get different random numbers in range of 1 to 100 with your different c.

now that range is so much bigger than 1 to 100, and it is from 1 to a little less than 2256 and that "formula" is so much more complicated and pseudorandom, it is a series of hashed message authentication codes aka HMAC using SHA512 hash function and your "c" is itself a very big number.

There is a FOMO brewing...
Velkro
Legendary
*
Offline Offline

Activity: 2296
Merit: 1014



View Profile
August 29, 2019, 05:56:27 PM
 #7

The private keys and addresses are derived from that seed. Take a look at these articles[1][2] for a better understanding.

Yes but remember you need software to recover private keys/public addresses from seed and in future software will change and it will be more problematic to recover keys from old seeds securely.
Most basic form of controling your funds are private keys, from private key you have full control and from private key you can create your public address.
Lucius
Legendary
*
Offline Offline

Activity: 3416
Merit: 6147


Crypto Swap Exchange🈺


View Profile WWW
August 30, 2019, 09:32:23 AM
 #8

You can export them or you can copy and paste them in a notepad.

Playing with private keys in HD wallets is not something that is smart to do, this can only increase the chance of someone came into possession of such backup, especially if the private keys are stored in digital form without encryption. Also every infected computer can get such info via screen logger, or in some other way, it's actually just another additional and completely unnecessary attack vector.

Every time user is send coins, new change / receive address is created, and that means new private keys.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Little Mouse
Legendary
*
Offline Offline

Activity: 2226
Merit: 2279


Marketing Campaign Manager |Telegram ID- @LT_Mouse


View Profile WWW
August 30, 2019, 03:12:37 PM
 #9

Will I be wrong if I say seed holds the whole wallet, act as the wallet back up and private keys hold the authenticity of each address you need.

██████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
██████████████████████
.SHUFFLE.COM..███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
█████████████████████
████████████████████
██████████████████████
████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
██████████████████████
██████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
.
...Next Generation Crypto Casino...
TryNinja
Legendary
*
Offline Offline

Activity: 3010
Merit: 7437


Top Crypto Casino


View Profile WWW
August 30, 2019, 11:25:37 PM
 #10

Will I be wrong if I say seed holds the whole wallet, act as the wallet back up and private keys hold the authenticity of each address you need.
That sounds right to me for a quick ELI5.

The seed is responsible for generating your specific private-keys. Your private-keys are responsible for "owning" the address.

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

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
hatshepsut93
Legendary
*
Offline Offline

Activity: 3038
Merit: 2161


View Profile
August 30, 2019, 11:55:33 PM
 #11

You can export them or you can copy and paste them in a notepad.

Playing with private keys in HD wallets is not something that is smart to do, this can only increase the chance of someone came into possession of such backup, especially if the private keys are stored in digital form without encryption. Also every infected computer can get such info via screen logger, or in some other way, it's actually just another additional and completely unnecessary attack vector.

Every time user is send coins, new change / receive address is created, and that means new private keys.

Some wallets, like Electrum, have inherent flaw where any single private key and master public key are enough to get all private keys of a wallet, so you should always treat private keys of such wallets as if they were your seeds. This means never import private keys into some altcoin wallets to claim forks, even if corresponding addresses are empty, don't share it with anyone just for fun and so on.
Polina_21
Member
**
Offline Offline

Activity: 80
Merit: 39


View Profile
August 31, 2019, 01:47:24 AM
 #12

A private key is a unique alphanumeric number that is generated automatically when you create a wallet.

Before you were supposed to hold your private keys safely to secure your coins. But now it has been changed, you need not have to remember a private key for securing your coins. There are more ways to secure your coins, one is through a "Seed".

A seed is 12,18 or 24-word mnemonic phrase which will be created when you create a new wallet. You need to note down this seed on a piece of paper or in a secure place. Because if the device is lost or stolen, you can use this seed to recover your coins.


Before -

Quote
"Don't own your private keys, you don't own your cryptos"

Now -

Quote
"Don't own your Seed, you don't own your cryptos"

pooya87
Legendary
*
Offline Offline

Activity: 3626
Merit: 11015


Crypto Swap Exchange


View Profile
August 31, 2019, 03:43:14 AM
 #13

You can export them or you can copy and paste them in a notepad.

Playing with private keys in HD wallets is not something that is smart to do, this can only increase the chance of someone came into possession of such backup, especially if the private keys are stored in digital form without encryption. Also every infected computer can get such info via screen logger, or in some other way, it's actually just another additional and completely unnecessary attack vector.

Every time user is send coins, new change / receive address is created, and that means new private keys.

Some wallets, like Electrum, have inherent flaw where any single private key and master public key are enough to get all private keys of a wallet, so you should always treat private keys of such wallets as if they were your seeds. This means never import private keys into some altcoin wallets to claim forks, even if corresponding addresses are empty, don't share it with anyone just for fun and so on.

it obviously would have been better if the hardened paths were used but i wouldn't call that a flaw exactly. users don't usually reveal one private key plus master public key, there isn't any situation for it. for example when claiming shitforkcoin they either import 1 private key or they import their seed which endangers their whole wallet anyways.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
hatshepsut93
Legendary
*
Offline Offline

Activity: 3038
Merit: 2161


View Profile
August 31, 2019, 03:51:30 AM
 #14

it obviously would have been better if the hardened paths were used but i wouldn't call that a flaw exactly. users don't usually reveal one private key plus master public key, there isn't any situation for it. for example when claiming shitforkcoin they either import 1 private key or they import their seed which endangers their whole wallet anyways.

But people treat master public key much less serious, they can send it to themselves via email, store it in plaintext (Electrum stores it in unencrypted form in watch-only wallet by default) or even just post it somewhere online. In my book that's a flaw - it might not be critical, but it's still there, and in the long run someone will lose money because of it.
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18746


View Profile
August 31, 2019, 07:55:43 PM
 #15

A private key is a unique alphanumeric number that is generated automatically when you create a wallet.

A seed is 12,18 or 24-word mnemonic phrase which will be created when you create a new wallet.
Neither of those statements are quite accurate.

When you create a new wallet, the only thing it will create from scratch is a long random number which is known as the seed. Everything else (mnemonic phrase, private keys, public keys) is ultimately derived from this number. To turn this number in to a mnemonic phrase, it is split up in to sections of 11-bits in length which correspond to a number between 0 and 2047, and then each number is matched to the corresponding word in the BIP39 word list here: https://github.com/bitcoin/bips/blob/master/bip-0039/english.txt. When you restore a wallet from your mnemonic phrase, it essentially reverses the steps, turns the words in to 11 bit numbers, pieces them altogether, and outputs your seed.

To derive your master private key, the wallet performs a function known as HMAC-SHA512 on the seed. This master private key can then be used to further derive individual private keys, and therefore public keys and addresses.
JeotQ
Member
**
Offline Offline

Activity: 406
Merit: 14


View Profile
September 01, 2019, 03:53:12 AM
 #16

I use coinomi wallet alot and i have come to understand that recovery seed works for only one single public address,if you create another public address you will need to extract your private key for that second address to have 100% access to your fund.

mynadira
Jr. Member
*
Offline Offline

Activity: 104
Merit: 1


View Profile
September 01, 2019, 03:59:05 AM
Merited by randegibran (1)
 #17

I think both of them are unique codes that are used for access to the user's wallet, by combining seed and private key, the wallet you have will be safer.
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18746


View Profile
September 01, 2019, 12:13:20 PM
 #18

I use coinomi wallet alot and i have come to understand that recovery seed works for only one single public address
This is incorrect. Coinomi (as with most wallets) is what is known as a hierarchical deterministic (HD) wallet. These wallets use the seed to create unlimited private keys and therefore unlimited public keys and addresses. If you have your seed backed up, then you can use that to restore access to any and all public addresses ever used.

if you create another public address you will need to extract your private key for that second address to have 100% access to your fund.
This part of your statement is correct. If you are storing private keys, then you need to have the private key for each address. There is a 1-to-1 relationship between private keys and addresses. However, private keys are not the same as seeds. The seed will give you access to all your private keys.

by combining seed and private key, the wallet you have will be safer.
This doesn't make sense.
ezeobulu007
Newbie
*
Offline Offline

Activity: 83
Merit: 0


View Profile
September 14, 2019, 09:36:05 AM
 #19

Seeds and private keys, although may sound different, does the same work which is working as an extra security option especially when you lose your password and again some platforms make use of one of both (either seed or private keys) while some uses both.
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!