A mnemonic is a group of easy to remember words generated from the
entropy. It is used to generate a seed, which will be used to derive a HD wallet.
It first appeared in BIP39, which is a standard for mnemonic generation.
Entropy
Entropy is a measure of randomness. The more entropy, the more secure. A
bit is the smallest unit of data in a computer. It can be either 0 or 1.
We use the crypto.getRandomValues() function to generate random bits. This
function is available in modern browsers and Node.js. Learn more on MDN
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
TOTAL 128 BITS
Entropy to Mnemonic
A mnemonic is a group of easy to remember words generated from the
entropy. The valid number of words for a mnemonic is 12, 15, 18, 21, or 24.
Different numbers of words require different lengths of entropy.
1abandon
2abandon
3abandon
4abandon
5abandon
6abandon
7abandon
8abandon
9abandon
10abandon
11abandon
12about
It takes 2 steps to convert an entropy to a mnemonic:
Mnemonic to Seed
A seed is a 512-bit (64-byte) value generated from mnemonic
. Will be used to derive the master extended key. We will
cover this in the next section.
You may have noticed that the length of a mnemonic is not fixed, but the
seed requires exactly 512 bits. To achieve this, the
mnemonic needs to be processed through a function called
PBKDF2 (Password Based Key Derivation Function 2).