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:
Frank Denis
2020-08-19 16:21:05 +02:00
parent 1a4059ed88
commit 6f9ea9eaef
16 changed files with 242 additions and 194 deletions

View File

@@ -4,7 +4,7 @@
// The MIT license requires this copyright notice to be included in all copies
// and substantial portions of the software.
const std = @import("std.zig");
const Blake3 = std.crypto.Blake3;
const Blake3 = std.crypto.hash.Blake3;
const fs = std.fs;
const base64 = std.base64;
const ArrayList = std.ArrayList;