| Crates.io | det-keygen |
| lib.rs | det-keygen |
| version | 0.1.0 |
| created_at | 2025-07-03 17:03:57.625609+00 |
| updated_at | 2025-07-03 17:03:57.625609+00 |
| description | Derivation of ECDSA private keys from arbitrary seeds, using FIPS 186-5 methods only |
| homepage | |
| repository | https://github.com/yawn/det-keygen |
| max_upload_size | |
| id | 1736558 |
| size | 39,348 |
This is an experimental port of the Python reference implementation of C2SP's ECDSA Deterministic Key Generation. This specification enables the derivation of ECDSA private keys from arbitrary seeds (using FIPS 186-5 methods only) which should contain at least 192 bits of entropy.
Currently this crate does only support P256, not P-224, P-384, or P-521 (which are also covered by the specification).
Usage:
let keygen = Keygen::<P256>::new(&seed);
let key = keygen.generate();