DoxigAlpha

hash

Function parameters

Parameters

#
b:[]const u8
out:[]u8

An incremental hasher that can accept any number of writes.

Types

#
Blake3
An incremental hasher that can accept any number of writes.

Source

Implementation

#
pub fn hash(b: []const u8, out: []u8, options: Options) void {
    var d = Blake3.init(options);
    d.update(b);
    d.final(out);
}