authorgravatar for 53379023+x13a@users.noreply.github.comlucky <53379023+x13a@users.noreply.github.com> 2021-09-09 15:25:44+03:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2021-09-09 14:25:44+02:00
log3611487952c4ef126689c447a60cd5cd9288b32f
tree8c18d81643c617e64086b82c76cd99bf2709cecc
parent23c25c5eaf959549e2f8e090a6c0eae7cfa6cb30
signaturebadge-question-mark Signed by PGP key 4AEE18F83AFDEB23

reexport crypto/phc_encoding (#9712)

Co-authored-by: lucky <>

1 files changed, 3 insertions(+), 1 deletions(-)

lib/std/crypto.zig+3-1
......@@ -109,9 +109,11 @@ pub const pwhash = struct {
109109 crypt,
110110 };
111111 pub const KdfError = errors.Error || std.mem.Allocator.Error;
112 pub const HasherError = KdfError || @import("crypto/phc_encoding.zig").Error;
112 pub const HasherError = KdfError || phc_format.Error;
113113 pub const Error = HasherError || error{AllocatorRequired};
114114
115 pub const phc_format = @import("crypto/phc_encoding.zig");
116
115117 pub const bcrypt = @import("crypto/bcrypt.zig");
116118 pub const scrypt = @import("crypto/scrypt.zig");
117119 pub const pbkdf2 = @import("crypto/pbkdf2.zig").pbkdf2;