(value: string)
| 3 | } |
| 4 | |
| 5 | export function base64Decode(value: string) { |
| 6 | return atob(value.replace(/-/g, "+").replace(/_/g, "/")) |
| 7 | } |
| 8 | |
| 9 | export async function hash(content: string, algorithm = "SHA-256"): Promise<string> { |
| 10 | const encoder = new TextEncoder() |
nothing calls this directly
no outgoing calls
no test coverage detected