harningt / atomun-mnemonic

Java component library containing mnemonic<->byte logic.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement modern Electrum mnemonic algorithm

harningt opened this issue · comments

The new algorithm uses the following required inputs to derive the mnemonic sequence:

  • Prefix
  • Language
  • Others I'm sure... Need to amend

The prefix is used to encode useful version data to assist in usage of the mnemonic after import. This prefix is then set as a brute force target for the final sequence of words.

Implementation version target depends on when implemented on Electrum client, however the designed interface should be compatible with the available input and output values.

Most of it is ready sitting in a dirty feature branch, but I have other changes to the engine that I want in before squashing this in.

Implemented in f5056bf