How Private Keys Work
September 09, 2019
- What are HD wallets?
- How Mnemonic Seed generated?
- Private key and public address
- Download Atomic Wallet
Fund protection is one of the main priorities in cryptocurrency wallets. That’s why we use a 12 words mnemonic seed. Mnemonic seed kept in a secured Keystore and fully encrypted. Only with the master password, you can get access to the seed. This also requires some special user’s efforts to prevent themselves from funds loss. Let’s take a look how private keys works!
From Mnemonic to HD wallets
Products that generate a master key from a mnemonic seed called hierarchical deterministic wallets or HD wallets. Users are strongly advised to use HD wallets for safety reasons. First of all, HD wallet can be backed up using only a seed phrase. It can also recover addresses and funds attached to them.
How does mnemonic reveal access to the addresses and private keys?
All your funds are stored on the blockchain. To gain access to them you need to use your private key. Mnemonic Seed contains all private keys, basically HD wallets decipher mnemonic seed and can give it to user as a set of private keys and public addresses: BTC, ETH, XRP, XMR and others…
Let’s take a closer look at the process
- Public address and private key are deciphered from Mnemonic Seed
- Each word is taken from a dictionary and assigned to a certain combination of numbers
- Then all private keys and public addresses are generated from those numbers.
- That’s why with mnemonic you can easily recover all addresses and the funds on them.
How does Atomic Wallet generate Mnemonic Seed?
HD wallets use 12-word seed phrase to generate an entire tree of key pairs. It’s almost impossible to hack it. Mnemonic is the “root” of the tree as it can be algorithmically converted into all private keys used in the wallet.
That single key does not replace other private keys but is rather used to generate them. All your addresses still have different private keys, but they can be all restored by the one seed phrase.
The advantage of HD wallets
In non-deterministic wallets each key is randomly generated on its own accord and they are not extracted from one seed phrase. Therefore, any backups of the wallet must store each and every single private key used as an address, as well as a buffer of 100 or so future keys that may have already been given out as addresses but with payments not yet received.
What is a Private key?
In the context of cryptocurrencies, a private key is a secret number that allows users to spend their assets. Each private key is attached to the public address as a signature. Public address is an address that contains all history of transactions used as some sort of identification. It’s propagated all over the blockchain and is accessible for everyone. But to gain access to the funds on it the private keys is required.
How are private keys stored in Atomic Wallet?
When you installed Atomic Wallet and create a new account the small file appears on your device. It contains randomly generated mnemonic seed and fully encrypted. Only you have access to this file and only you control it. In case of loss there is no way to recover access to your funds except by the mnemonic seed.
Private Key security Note
Never show your mnemonic seed to anyone and keep it in a safe place! If someone finds out your mnemonic, he will be able to access all your addresses and funds.
Private keys give you access to funds stored on your public address. That’s why it’s important to keep them in a secure place where no unauthorized person can access them. Private keys can be kept on computer files, printed on paper or stored in a keystore.
Atomic Wallet backup with Mnemonic seed
If something goes wrong you can easily recover your funds via back-up phrase or by exporting private key. Here is a process how you can restore access to your wallet by Mnemonic Seed.
Take your mnemonic seed, private keys and master password, and intruders will never get access to your assets.
If you’re curious to know more about Atomic Wallet security — check our special article.