UNPKG

555 BTypeScriptView Raw
1/**
2 * @name shaAsU8a
3 * @summary Creates a sha Uint8Array from the input.
4 */
5export declare const shaAsU8a: (value: string | Uint8Array, bitLength?: 256 | 512, onlyJs?: boolean) => Uint8Array;
6/**
7 * @name sha256AsU8a
8 * @summary Creates a sha256 Uint8Array from the input.
9 */
10export declare const sha256AsU8a: (data: string | Uint8Array, onlyJs?: boolean) => Uint8Array;
11/**
12 * @name sha512AsU8a
13 * @summary Creates a sha512 Uint8Array from the input.
14 */
15export declare const sha512AsU8a: (data: string | Uint8Array, onlyJs?: boolean) => Uint8Array;