struct VerifyOptions [src]
Options for hash verification.
Fields
allocator: ?mem.Allocator = nullFor bcrypt, that can be left to null.
silently_truncate_password: boolWhether to silently truncate the password to 72 bytes, or pre-hash the password when it is longer.
Source
pub const VerifyOptions = struct {
/// For `bcrypt`, that can be left to `null`.
allocator: ?mem.Allocator = null,
/// Whether to silently truncate the password to 72 bytes, or pre-hash the password when it is longer.
silently_truncate_password: bool,
}