port over mnemonic stuff from libbitcoin.