Module diem_sdk::crypto::compat

Expand description

Wrapper structs for types that need RustCrypto traits implemented.

Structs

  • 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).