logo
pub struct Sha512Trunc224 { /* private fields */ }
Expand description

The SHA-512 hash algorithm with the SHA-512/224 initial hash value. The result is truncated to 224 bits.

Trait Implementations

Block size

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

Output size for fixed output digest

Retrieve result into provided buffer and leave hasher in a dirty state. Read more

Reset hasher instance to its initial state and return current state.

Digest input data. Read more

Digest input data in a chained manner.

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

Output size for Digest

Create new hasher instance

Digest data, updating the internal state. Read more

Digest input data in a chained manner.

Retrieve result and consume hasher instance.

Retrieve result and reset hasher instance. Read more

Reset hasher instance to its initial state.

Get output size of the hasher

Convenience function to compute hash of the data. It will handle hasher creation, data feeding and finalization. Read more

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.

Performs the conversion.

Performs the conversion.

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.