Skip to main content

key_tag

Function key_tag 

Source
pub fn key_tag(hmac_key: &[u8], public_keys: &PublicKeys) -> [u8; 16]
Expand description

keyTag: HMAC-SHA256 with hmac_key over the serialization of the verificationKey and of the encryptionKey (if present), leftmost 128 bits.