Skip to main content

Crate quorum_crypto_core

Crate quorum_crypto_core 

Source
Expand description

§quorum-crypto-core

Cryptographic primitives and traits for agent signing and verification.

  • AuditSigner — sign messages (Ed25519, Secp256k1)
  • AuditVerifier — verify signatures from unknown agents
  • VerifierRegistry — route algorithm strings to verifier implementations
  • AuditEnvelope — multi-signature chained envelope for any serializable payload
  • ChainHasher — pluggable hash function for commitment chains

Downstream crates can extend this surface with post-quantum signing (e.g. ML-DSA-65), Poseidon-style hashing, commitment chains, and settlement provers without changing the core trait shapes here.

Re-exports§

pub use canonical::canonical_bytes;
pub use chain::ChainHasher;
pub use envelope::AuditEnvelope;
pub use envelope::SignatureStatus;
pub use error::CryptoError;
pub use signer::AuditSigner;
pub use verifier::AuditVerifier;
pub use verifier::VerifierRegistry;

Modules§

canonical
Canonical byte encoding for signed payloads.
chain
Commitment chain hash function trait and SHA-256 implementation.
envelope
Signed audit envelope wrapping any serializable payload.
error
Error types for crypto operations.
signer
Signing traits and implementations.
verifier
Signature verification traits and registry.