harningt / atomun-mnemonic

Java component library containing mnemonic<->byte logic.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement BIP-0039 mnemonic algorithm

harningt opened this issue · comments

BIP-0039 specifies one standard for implementing mnemonic sequences using the following inputs to eventually arrive at a seed value.

WARNING: the specification is currently in draft but appears to be used by TREZOR, so it may evolve resulting in a name change to reflect its "TREZOR nature"

Mnemonic generation:

  • entropy length (128-256 and mod 32)
  • derived checksum of the entropy
  • dictionary of 2048 words with specific desired properties

Seed generation:

  • mnemonic sequence
  • dictionary
  • optional password

Outputs exactly 64 bytes

Merged in 186cb2a to develop

Merged in f3660e4 to master