Skip to main content

HMAC_SHA512

Type Alias HMAC_SHA512 

Source
pub type HMAC_SHA512 = HMAC<SHA512, 128>;
Expand description

Public type for HKDF using SHA512.

Aliased Type§

pub struct HMAC_SHA512 { /* private fields */ }

Trait Implementations§

Source§

impl Algorithm for HMAC_SHA512

Source§

const ALG_NAME: &'static str = HMAC_SHA512_NAME

String name for the algorithm, used consistently across the library.
Source§

const MAX_SECURITY_STRENGTH: SecurityStrength = SecurityStrength::_256bit

Maximum security strength supported by the algorithm. In other words, this algorithm can produce outputs up to this security strength, but may produce outputs with lower security strength, for example, if asked to truncate.
Source§

impl AlgorithmOID for HMAC_SHA512

Defined in RFC 4231: id-hmacWithSHA512 { digestAlgorithm 11 }

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.