pub struct RustCrypto { /* private fields */ }

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Check whether the Ciphersuite is supported by the backend or not. Read more

Returns the list of supported Ciphersuites.

HKDF extract. Read more

HKDF expand. Read more

Hash the data. Read more

AEAD encrypt with the given parameters. Read more

AEAD decrypt with the given parameters. Read more

Generate a signature key. Read more

Verify the signature Read more

Sign with the given parameters. Read more

HPKE single-shot encryption of ptxt to pk_r, using info and aad.

HPKE single-shot decryption of input with sk_r, using info and aad. Read more

HPKE single-shot setup of a sender and immediate export a secret. Read more

HPKE single-shot setup of a receiver and immediate export a secret. Read more

Derive a new HPKE keypair from a given input key material.

Fill an array with random bytes.

Fill a vector of length len with bytes.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.