Struct diem_wallet::Mnemonic
source · pub struct Mnemonic(_);
Expand description
Default imports Mnemonic seed for deterministic key derivation based on BIP39. The mnemonic must encode entropy in a multiple of 32 bits. With more entropy, security is improved but the number of words increases.
The allowed sizes of entropy are 128, 160, 192, 224 and 256 bits as shown in the following table.
+———+—––+ | ENTROPY | WORDS | +———+—––+ | 128 | 12 | | 160 | 15 | | 192 | 18 | | 224 | 21 | | 256 | 24 | +———+—––+