Breaking: sort std/crypto functions into categories
Instead of having all primitives and constructions share the same namespace, they are now organized by category and function family. Types within the same category are expected to share the exact same API.
This commit is contained in:
@@ -26,7 +26,7 @@ pub fn hashSrc(src: []const u8) SrcHash {
|
||||
std.mem.copy(u8, &out, src);
|
||||
std.mem.set(u8, out[src.len..], 0);
|
||||
} else {
|
||||
std.crypto.Blake3.hash(src, &out);
|
||||
std.crypto.hash.Blake3.hash(src, &out);
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user