Skip to main content

SHA512

Type Alias SHA512 

Source
pub type SHA512 = SHA512Internal<SHA512Params>;
Expand description

Public type for SHA512.

Aliased Type§

pub struct SHA512 { /* private fields */ }

Trait Implementations§

Source§

impl AlgorithmOID for SHA512

Assigned by NIST in the Computer Security Objects Register: id-sha512 { hashAlgs 3 }

Source§

const OID: &'static [u32]

The OID in component form – each u32 is one OID component.
Source§

const OID_DER: &'static [u8]

The OID in its DER-encoded form.
Source§

impl HashAlgParams for SHA512

Source§

const OUTPUT_LEN: usize = 64

The fixed output length of the hash function.
Source§

const BLOCK_LEN: usize = 128

The internal block length of the hash function, which is often used as a meta-parameter for determining the security strength of the hash function since this limits the internal collision resistance of the hash function.