Struct diem_crypto::compat::Sha3_256 [−][src]
pub struct Sha3_256(_);
Expand description
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
).
Trait Implementations
type OutputSize = U32
type OutputSize = U32
Output size for fixed output digest
Write result into provided array and consume the hasher instance.
Write result into provided array and reset the hasher instance.
Retrieve result and consume the hasher instance.
Retrieve result and reset the hasher instance.
Auto Trait Implementations
impl RefUnwindSafe for Sha3_256
impl UnwindSafe for Sha3_256
Blanket Implementations
Mutably borrows from an owned value. Read more
type OutputSize = <D as FixedOutput>::OutputSize
type OutputSize = <D as FixedOutput>::OutputSize
Output size for Digest
Digest data, updating the internal state. Read more
Retrieve result and consume hasher instance.
Retrieve result and reset hasher instance. Read more
Get output size of the hasher
Retrieve result and consume boxed hasher instance
Get output size of the hasher