import { HexString } from '../types'; /** * @name keccak256AsU8a * @description Creates a keccak256 Uint8Array from the input. * @example *
* * ```javascript * import { keccak256AsU8a } from '@zcloak/crypto'; * * keccak256AsU8a('123'); // => Uint8Array * ``` */ export declare function keccak256AsU8a(value: Uint8Array | HexString | string): Uint8Array; /** * @name keccak512AsU8a * @description Creates a keccak512 Uint8Array from the input. * @example *
* * ```javascript * import { keccak512AsU8a } from '@zcloak/crypto'; * * keccak512AsU8a('123'); // => Uint8Array * ``` */ export declare function keccak512AsU8a(value: Uint8Array | HexString | string): Uint8Array; /** * @name keccak256AsHex * @description Creates a keccak256 hex string from the input. */ export declare function keccak256AsHex(value: Uint8Array | HexString | string): HexString; /** * @name keccak512AsHex * @description Creates a keccak512 hex string from the input. */ export declare function keccak512AsHex(value: Uint8Array | HexString | string): HexString;