Expand description

A library supplying various cryptographic primitives

Re-exports

pub use hash::HashValue;
pub use self::traits::*;

Modules

This module provides APIs for Boneh-Lynn-Shacham (BLS) aggregate signatures (including individual signatures and multisignatures) on top of Barreto-Lynn-Scott BLS12-381 elliptic curves. This module wraps the blst library.

Wrapper structs for types that need RustCrypto traits implemented.

This module provides an API for the PureEdDSA signature scheme over the Ed25519 twisted Edwards curve as defined in RFC8032.

Rexport the error types needed for the various crypto traits

This module defines traits and implementations of cryptographic hash functions

An implementation of HKDF, the HMAC-based Extract-and-Expand Key Derivation Function based on RFC 5869.

This module provides an API for the accountable threshold multi-sig PureEdDSA signature scheme over the ed25519 twisted Edwards curve as defined in RFC8032.

Noise is a protocol framework which we use to encrypt and authenticate communications between nodes of the network.

Internal module containing convenience utility functions mainly for testing

This module provides a generic set of traits for dealing with cryptographic primitives.

This module provides the Validate trait and Validatable type in order to aid in deferred validation.

An abstraction of x25519 elliptic curve keys required for Diffie-Hellman key exchange