Skip to main content

Crate prikk_crypto

Crate prikk_crypto 

Source
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§

Ed25519KeyPair
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 signature over message against a 32-byte public_key.