(data: Uint8Array)
| 53 | const bytesOf = (value: Uint8Array): Uint8Array => Uint8Array.from(value) |
| 54 | |
| 55 | const sha256 = (data: Uint8Array): Uint8Array => bytesOf(createHash("sha256").update(data).digest()) |
| 56 | |
| 57 | const hmacSha256 = (key: Uint8Array, data: Uint8Array): Uint8Array => |
| 58 | bytesOf(createHmac("sha256", key).update(data).digest()) |
no test coverage detected