Ryan Heywood
b7fd2ef8e5
keyfork-mnemonic-generate: alter signature of generate_mnemonic to take size as input
2023-09-12 00:29:19 -05:00
Ryan Heywood
76d369a6d5
keyfork-mnemonic-generate: make bin into lib with bin
2023-09-11 23:55:30 -05:00
Ryan Heywood
69b4aa9a18
keyfork-mnemonic-generate: land 0.1.0
2023-09-01 07:30:34 -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
Ryan Heywood
8e74c18135
keyfork-mnemonic-generate: split wordlist parsing into its own thing
2023-08-18 01:12:09 -05:00
Ryan Heywood
8ec5dc0dec
keyfork-mnemonic-generate: test ensure entropy floats around what we expect from birthday values
2023-08-18 00:59:03 -05:00
Ryan Heywood
ac40930b2f
keyfork-mnemonic-generate: so, dedup only removes sequential duplicates
2023-08-18 00:28:31 -05:00
Ryan Heywood
3032e11b78
keyfork-mnemonic-generate: the math ain't mathin
2023-08-17 23:57:44 -05:00
Ryan Heywood
2c06b96953
keyfork-mnemonic-generate: add failing test to track birthday paradox
2023-08-17 21:45:15 -05:00
Ryan Heywood
6f00eb6fd7
keyfork-mnemonic-generate: add README
2023-08-16 18:27:55 -05:00
Ryan Heywood
bf0468e405
keyfork-mnemonic-generate: properly slice entropy
2023-08-16 16:38:10 -05:00
Ryan Heywood
d0eead5eb3
keyfork-mnemonic-generate: make idiomatic
2023-08-16 16:10:56 -05:00
Ryan Heywood
6a99a09089
keyfork-mnemonic-generate: fix endianness
2023-08-16 15:49:37 -05:00
Ryan Heywood
7eff9531bc
keyfork-mnemonic-generate: passes first test (pre rewrite)
2023-08-16 15:32:23 -05:00
Ryan Heywood
7467a30c40
keyfork-mnemonic-generate: begin work on tests
2023-08-16 07:42:13 -05:00
Ryan Heywood
0d768a6eef
keyfork-mnemonic-generate: add correct amount of bits to bitvec
2023-08-16 06:40:17 -05:00
Ryan Heywood
4feb2b6bce
keyfork-mnemonic-generate: extract converters
2023-08-16 06:12:01 -05:00
Ryan Heywood
d4036d8b72
keyfork-mnemonic-generate: treat offline as success
2023-08-16 05:50:08 -05:00
Ryan Heywood
067a373993
keyfork-mnemonic-generate: clean up
2023-08-16 05:47:46 -05:00
Ryan Heywood
298f9a1e26
keyfork-mnemonic-generate: initial commit
2023-08-16 05:43:40 -05:00