UNPKG

677 BTypeScriptView Raw
1/**
2 * @name hmacShaAsU8a
3 * @description creates a Hmac Sha (256/512) Uint8Array from the key & data
4 */
5export declare function hmacShaAsU8a(key: Uint8Array | string, data: Uint8Array, bitLength?: 256 | 512, onlyJs?: boolean): Uint8Array;
6/**
7 * @name hmacSha256AsU8a
8 * @description creates a Hmac Sha256 Uint8Array from the key & data
9 */
10export declare const hmacSha256AsU8a: (key: Uint8Array | string, data: Uint8Array, onlyJs?: boolean) => Uint8Array;
11/**
12 * @name hmacSha512AsU8a
13 * @description creates a Hmac Sha512 Uint8Array from the key & data
14 */
15export declare const hmacSha512AsU8a: (key: Uint8Array | string, data: Uint8Array, onlyJs?: boolean) => Uint8Array;