Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function sha3(bytes: Uint8Array) {
return new Uint8Array(keccak256.update(bytes).arrayBuffer());
}
export function keccak256(bytes: Uint8Array) {
return new Uint8Array(_keccak256.update(bytes).arrayBuffer());
}