pub fn verify(password: &str, hashed: &str) -> boolExpand description
Verify a password against a stored hash.
Returns false rather than an error for a malformed or empty hash, matching upstream:
compare resolves false when either side is falsy rather than throwing
(password.js:24-29). A stored hash that cannot be parsed is a failed login, not a 500.