| ... | ... | @@ -109,9 +109,11 @@ pub const pwhash = struct { |
| 109 | 109 | crypt, |
| 110 | 110 | }; |
| 111 | 111 | 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; |
| 113 | 113 | pub const Error = HasherError || error{AllocatorRequired}; |
| 114 | 114 | |
| 115 | pub const phc_format = @import("crypto/phc_encoding.zig"); |
| 116 | |
| 115 | 117 | pub const bcrypt = @import("crypto/bcrypt.zig"); |
| 116 | 118 | pub const scrypt = @import("crypto/scrypt.zig"); |
| 117 | 119 | pub const pbkdf2 = @import("crypto/pbkdf2.zig").pbkdf2; |