Module cryptoxide::poly1305 [−][src]
Expand description
Poly1305 Message Authentication Code (MAC) as defined in Specification.
Examples
use cryptoxide::{mac::Mac, poly1305::Poly1305};
let mut context = Poly1305::new(&[0u8;32]);
context.input(b"data to authenticate");
let mac = context.result();
Structs
Poly1305
Context