(password: string)
| 141 | * Used to hash the password. |
| 142 | */ |
| 143 | export const hash = async (password: string): Promise<string> => { |
| 144 | return await argon2.hash(password) |
| 145 | } |
| 146 | |
| 147 | /** |
| 148 | * Used to verify if the password matches the hash |
no outgoing calls
no test coverage detected