(password: string)
| 7 | const SALT_ROUNDS = 10; |
| 8 | |
| 9 | export async function hashPassword(password: string) { |
| 10 | return hash(password, SALT_ROUNDS); |
| 11 | } |
| 12 | |
| 13 | export async function comparePasswords( |
| 14 | plainTextPassword: string, |
no outgoing calls
no test coverage detected