UNPKG

eccrypto-js

Version:

Elliptic curve cryptography library (NodeJS, Browser and Pure JS)

10 lines 773 B
/// <reference types="node" /> export declare function hmacSha256Sign(key: Buffer, msg: Buffer): Promise<Buffer>; export declare function hmacSha256Verify(key: Buffer, msg: Buffer, sig: Buffer): Promise<boolean>; export declare function hmacSha512Sign(key: Buffer, msg: Buffer): Promise<Buffer>; export declare function hmacSha512Verify(key: Buffer, msg: Buffer, sig: Buffer): Promise<boolean>; export declare function hmacSha256SignSync(key: Buffer, msg: Buffer): Buffer; export declare function hmacSha256VerifySync(key: Buffer, msg: Buffer, sig: Buffer): boolean; export declare function hmacSha512SignSync(key: Buffer, msg: Buffer): Buffer; export declare function hmacSha512VerifySync(key: Buffer, msg: Buffer, sig: Buffer): boolean; //# sourceMappingURL=hmac.d.ts.map