det-keygen

Crates.iodet-keygen
lib.rsdet-keygen
version0.1.0
created_at2025-07-03 17:03:57.625609+00
updated_at2025-07-03 17:03:57.625609+00
descriptionDerivation of ECDSA private keys from arbitrary seeds, using FIPS 186-5 methods only
homepage
repositoryhttps://github.com/yawn/det-keygen
max_upload_size
id1736558
size39,348
Joern Barthel (yawn)

documentation

README

ECDSA Deterministic Key Generation

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();
Commit count: 0

cargo fmt