Ryan Heywood
76c9214d73
This changes the actual structure of Mnemonic since it requires exclusively owned types when implementing FromStr. Now, Mnemonic contains an Arc. Thread safety is required because of the Tokio multithreaded runtime, hence an Arc instead of an Rc. This does add some level of burden for people instantiating Mnemonics, but `Wordlist::arc(self) -> Arc<Self>` has been provided as a convenience method to make working with mnemonics easier. |
||
---|---|---|
.. | ||
src | ||
Cargo.lock | ||
Cargo.toml | ||
README.md |
README.md
This program is designed to generate a 12- or 24-word mnemonic using system
entropy on an offline, post-5.4-kernel Linux system. For testing purposes, the
command may be run in an insecure environment using SHOOT_SELF_IN_FOOT=1
. The
program may be passed a seed size as the first and only argument, and only
supports seed sizes of 128 bits or 256 bits, for 12 and 24 word mnemonics.