UNPKG

cipher-ethereum

Version:

An Ethereum library used by Cipher Browser, a mobile Ethereum client

23 lines (20 loc) 447 B
declare module 'keccak/js' { class Keccak { update (data: Buffer): Keccak update (data: string, encoding: string): Keccak digest (): Buffer digest (encoding: string): string } function createKeccakHash ( algorithm: | 'keccak224' | 'keccak256' | 'keccak384' | 'keccak512' | 'sha3-224' | 'sha3-256' | 'sha3-384' | 'sha3-512' ): Keccak export default createKeccakHash }