UNPKG

lotus-sdk

Version:

Central repository for several classes of tools for integrating with, and building for, the Lotusia ecosystem

16 lines 584 B
export interface HashFunction { (buf: Buffer): Buffer; blocksize: number; } export declare class Hash { static sha1: HashFunction; static sha256: HashFunction; static sha512: HashFunction; static sha256sha256: (buf: Buffer) => Buffer; static ripemd160: (buf: Buffer) => Buffer; static sha256ripemd160: (buf: Buffer) => Buffer; static hmac(hashf: HashFunction, data: Buffer, key: Buffer): Buffer; static sha256hmac(data: Buffer, key: Buffer): Buffer; static sha512hmac(data: Buffer, key: Buffer): Buffer; } //# sourceMappingURL=hash.d.ts.map