Commit Graph

12 Commits

Author SHA1 Message Date
Ryan Heywood bfb44292f4
keyfork-mnemonic-util: allow seeds of arbitrary size 2023-12-21 15:02:59 -05:00
Ryan Heywood 8e7b4b90bf
add licenses 2023-11-16 21:56:57 -05:00
Ryan Heywood 4b4b85931f
cargo fmt 2023-11-05 01:29:10 -05:00
Ryan Heywood fa5d5ede1d
keyfork-derive-path-data: initial commit 2023-10-07 23:42:45 -05:00
Ryan Heywood 0f31cd2424
keyfork-mnemonic-util: .seed() => .entropy(), make new bip39-compliant .seed() method 2023-10-07 23:41:24 -05:00
Ryan Heywood de6d8e4b56
keyfork-mnemonic-from-seed: trim unnecessary 2023-10-02 22:04:05 -05:00
Ryan Heywood b810ab2e90
cargo fmt 2023-09-07 15:20:32 -05:00
Ryan Heywood f0148a8c38
keyfork-mnemonic-util: land 0.1.0 2023-09-01 07:24:40 -05:00
Ryan Heywood 5424e66aed
**/Cargo.toml: refactorings 2023-08-31 23:11:42 -05:00
Ryan Heywood da09b95bae
keyfork-mnemonic-util: Mnemonic::seed(&self) -> Vec<u8> 2023-08-25 05:19:47 -05:00
Ryan Heywood 76c9214d73
keyfork-mnemonic-util: impl FromStr for Mnemonic
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.
2023-08-24 21:56:35 -05:00
Ryan Heywood 5d7a3c99ba
keyfork-mnemonic-util: split mnemonic utilities out of keyfork-mnemonic-generate 2023-08-18 22:52:37 -05:00