mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-22 06:47:57 +00:00
16 lines
555 B
TypeScript
16 lines
555 B
TypeScript
/**
|
|
* @name shaAsU8a
|
|
* @summary Creates a sha Uint8Array from the input.
|
|
*/
|
|
export declare const shaAsU8a: (value: string | Uint8Array, bitLength?: 256 | 512, onlyJs?: boolean) => Uint8Array;
|
|
/**
|
|
* @name sha256AsU8a
|
|
* @summary Creates a sha256 Uint8Array from the input.
|
|
*/
|
|
export declare const sha256AsU8a: (data: string | Uint8Array, onlyJs?: boolean) => Uint8Array;
|
|
/**
|
|
* @name sha512AsU8a
|
|
* @summary Creates a sha512 Uint8Array from the input.
|
|
*/
|
|
export declare const sha512AsU8a: (data: string | Uint8Array, onlyJs?: boolean) => Uint8Array;
|