(str: string)
| 162 | * Kept for legacy reasons. |
| 163 | */ |
| 164 | export const hashLegacy = (str: string): string => { |
| 165 | return crypto.createHash("sha256").update(str).digest("hex") |
| 166 | } |
| 167 | |
| 168 | /** |
| 169 | * Used to check if the password matches the hash using |
no outgoing calls
no test coverage detected