Function create [src]
Prototype
pub fn create(out: *[mac_length]u8, msg: []const u8, key: *const [key_length]u8) void
Parameters
out: *[mac_length]u8
msg: []const u8
key: *const [key_length]u8
Source
pub fn create(out: *[mac_length]u8, msg: []const u8, key: *const [key_length]u8) void {
var st = Poly1305.init(key);
st.update(msg);
st.final(out);
}