Skip to main content

poly1305_mac

Function poly1305_mac 

Source
pub fn poly1305_mac(key: &[u8; 32], data: &[u8]) -> [u8; 16]
Expand description

Computes the Poly1305 message authentication code as specified in RFC 8439.

key must be 32 bytes (r || s).