DoxigAlpha

create

Function parameters

Parameters

#
out:*[mac_length]u8
msg:[]const u8
key:[]const u8

Type definitions in this namespace

Types

#

Functions in this namespace

Functions

#

Source

Implementation

#
pub fn create(out: *[mac_length]u8, msg: []const u8, key: []const u8) void {
    var ctx = Self.init(key);
    ctx.update(msg);
    ctx.final(out);
}