()
| 39 | |
| 40 | // Returns a new random hex string suitable for secure tokens. |
| 41 | export function newToken(): string { |
| 42 | return randomHexString(32); |
| 43 | } |
| 44 | |
| 45 | export function md5Hash(string: string): string { |
| 46 | return createHash('md5').update(string).digest('hex'); |
nothing calls this directly
no test coverage detected