The final 4 bytes appear to be missing when using Blake2b(160).
conststd=@import("std");
constHash=std.crypto.hash.blake2.Blake2b(160);
pubfnmain() void {
vardigest: [Hash.digest_length]u8=undefined;
Hash.hash("hello", &digest, .{});
std.debug.print("{x}", .{digest});
}Expected: b5531c7037f06c9f2947132a6a77202c308e8939
Actual: b5531c7037f06c9f2947132a6a77202c00000000
The final 4 bytes appear to be missing when using
Blake2b(160).