pub fn create(out: *[mac_length]u8, msg: []const u8, key: *const [key_length]u8) void out: *[mac_length]u8msg: []const u8key: *const [key_length]u8226
227
228
229
230 pub fn create(out: *[mac_length]u8, msg: []const u8, key: *const [key_length]u8) void {
var ctx = Self.init(key);
ctx.update(msg);
ctx.final(out);
}
Return an authentication tag for a message and a key