Crate commonware_cryptography

Source
Expand description

Generate keys, sign arbitrary messages, and deterministically verify signatures.

§Status

commonware-cryptography is ALPHA software and is not yet recommended for production use. Developers should expect breaking changes and occasional instability.

Re-exports§

pub use bls12381::Bls12381;
pub use ed25519::Ed25519;
pub use ed25519::Ed25519Batch;
pub use sha256::hash;
pub use sha256::Sha256;
pub use secp256r1::Secp256r1;

Modules§

bls12381
Distributed Key Generation (DKG), Resharing, Signatures, and Threshold Signatures over the BLS12-381 curve.
ed25519
Ed25519 implementation of the Scheme trait.
secp256r1
Secp256r1 implementation of the Scheme trait.
sha256
SHA-256 implementation of the Hasher trait.

Enums§

Error
Errors that can occur when interacting with cryptographic primitives.

Traits§

BatchScheme
Interface that commonware crates rely on for batched cryptographic operations.
Digest
Specializes the commonware_utils::Array trait with the Copy trait for cryptographic digests (which should be cheap to clone).
Hasher
Interface that commonware crates rely on for hashing.
Scheme
Interface that commonware crates rely on for most cryptographic operations.