This crate provides the
CryptoComponent and a set of static methods that
allows Internet Computer nodes to perform crypto operations such as key
generation, distributed key generation, hashing, signing, signature
verification, TLS handshakes, and random number generation.
Please refer to the 'Trait Implementations' section of the
CryptoComponentFatClient to get an overview of the functionality offered
Command line interface for the crypto component.
Offers cryptographically secure pseudorandom number generation (CSPRNG).
Static crypto utility methods.
Allows Internet Computer nodes to perform crypto operations such as distributed key generation, signing, signature verification, and TLS handshakes.
Indicates the content type of serialised key bytes passed for parsing.
Defines the maximum number of entries contained in the
A crypto component that offers limited functionality and can be used outside of the replica process.
Creates a combined threshold signature together with its public key. This is only used for testing.
Creates a (typed) domain-separated cryptographic hash.
Decodes an ECDSA P-256 signature from DER.
Encodes a raw ed25519 public key into DER.
Decodes a threshold signature public key from DER.
Encodes a threshold signature public key into DER.
Parses the given
Verifies a combined threshold signature.
A type alias for