| 1 | import { sha256 } from 'js-sha256' |
| 2 | interface AuthPayload { |
| 3 | t: number |
| 4 | m: string |
| 5 | } |
| 6 | |
| 7 | async function digestMessage(message: string) { |
| 8 | if (typeof crypto !== 'undefined' && crypto?.subtle?.digest) { |
nothing calls this directly
no outgoing calls
no test coverage detected