Expand description
Prikk cryptographic primitives.
v1 scope is intentionally minimal: Ed25519 keypair construction, detached signing, and detached verification. Trust stores, key persistence, key rotation, revocation, and signature policy are out of scope here and belong to later phases (RFC-025). This crate is the single home for the v1 signing/verification algorithm so authoring, sealing, and verification cannot diverge.
Structs§
- Ed25519
KeyPair - An Ed25519 keypair used to produce detached signatures.
Constants§
- ED25519_
KEY_ LEN - Length in bytes of an Ed25519 secret seed and of an Ed25519 public key.
- ED25519_
SIGNATURE_ LEN - Length in bytes of an Ed25519 detached signature.
Functions§
- verify_
ed25519 - Verify a detached Ed25519
signatureovermessageagainst a 32-bytepublic_key.