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::Sha256;
pub use secp256r1::Secp256r1;

Modules§

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

Traits§

BatchScheme
Interface that commonware crates rely on for batched cryptographic operations.
Hasher
Interface that commonware crates rely on for hashing.
Scheme
Interface that commonware crates rely on for most cryptographic operations.

Type Aliases§

Digest
Byte array representing a hash digest.
PrivateKey
Byte array representing an arbitrary private key.
PublicKey
Byte array representing an arbitrary public key.
Signature
Byte array representing an arbitrary signature.