(bytes: Uint8Array)
| 19 | } |
| 20 | |
| 21 | function bytesToHex(bytes: Uint8Array): string { |
| 22 | return Array.from(bytes, byte => byte.toString(16).padStart(2, '0')).join(''); |
| 23 | } |
| 24 | |
| 25 | function equalLengthStringsMatch(expected: string, actual: string): boolean { |
| 26 | if (expected.length !== actual.length) { |
no test coverage detected