(password: string)
| 9 | * @returns The hashed password |
| 10 | */ |
| 11 | export async function hashPassword(password: string) { |
| 12 | return bcrypt.hash(password, config.saltRounds); |
| 13 | } |
| 14 | |
| 15 | /** |
| 16 | * Check if the given password match the given crypted password |
no outgoing calls
no test coverage detected