ethereumjs-util#keccakFromHexString TypeScript Examples

The following examples show how to use ethereumjs-util#keccakFromHexString. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: skeleton.ts    From aurora-relayer with Creative Commons Zero v1.0 Universal 5 votes vote down vote up
async web3_sha3(_request: Request, input: web3.Data): Promise<web3.Data> {
    return bytesToHex(keccakFromHexString(input));
  }