Module diem_crypto::compat[][src]

Expand description

Wrapper structs for types that need RustCrypto traits implemented.

Structs

Sha3_256

A wrapper for tiny_keccak::Sha3::v256 that implements RustCrypto digest traits BlockInput, Update, Reset, and FixedOutput. Consequently, this wrapper can be used in RustCrypto APIs that require a hash function (usually something that impls Digest).