reexport crypto/phc_encoding (#9712)

Co-authored-by: lucky <>
This commit is contained in:
lucky 2021-09-09 15:25:44 +03:00 committed by GitHub
parent 23c25c5eaf
commit 3611487952
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,9 +109,11 @@ pub const pwhash = struct {
crypt,
};
pub const KdfError = errors.Error || std.mem.Allocator.Error;
pub const HasherError = KdfError || @import("crypto/phc_encoding.zig").Error;
pub const HasherError = KdfError || phc_format.Error;
pub const Error = HasherError || error{AllocatorRequired};
pub const phc_format = @import("crypto/phc_encoding.zig");
pub const bcrypt = @import("crypto/bcrypt.zig");
pub const scrypt = @import("crypto/scrypt.zig");
pub const pbkdf2 = @import("crypto/pbkdf2.zig").pbkdf2;