cosmjs-util/packages/crypto/src/hash.ts
2020-06-09 17:33:49 +02:00

6 lines
153 B
TypeScript

export interface HashFunction {
readonly blockSize: number;
readonly update: (_: Uint8Array) => HashFunction;
readonly digest: () => Uint8Array;
}