Verify a password against a PHC-format hash string.
const result = hashPassword({ password: 'secret' });const { valid } = verifyPasswordPhc({ password: 'secret', phc: result.phc }); Copy
const result = hashPassword({ password: 'secret' });const { valid } = verifyPasswordPhc({ password: 'secret', phc: result.phc });
Verify a password against a PHC-format hash string.