(text: string)
| 162 | |
| 163 | /** sha1 eines Textes als Hex, synchron. */ |
| 164 | export function sha1Hex(text: string): string { |
| 165 | return sha1Bytes(encoder.encode(text)); |
| 166 | } |
| 167 | |
| 168 | /** sha256 eines Textes als Hex, ohne WebCrypto. Nur fuer Tests und den Fallback. */ |
| 169 | export function sha256HexSync(text: string): string { |
no test coverage detected