/** * Computes the Keccak-256 hash of the input bytes. * * @param bytes The input bytes to hash. * @returns The Keccak-256 hash of the input bytes. */ export declare function keccak256(bytes: Uint8Array): Promise; /** * Computes the SHA-256 hash of the input bytes. * * @param bytes The input bytes to hash. * @returns The SHA-256 hash of the input bytes. */ export declare function sha256(bytes: Uint8Array): Promise; /** * Creates a non-cryptographic hash-based identifier for the given input. * * This function is primarily intended for generating unique identifiers from * a given input string. * It uses the SHA-1 hash algorithm, which is not cryptographically secure, but * is sufficient for this use case as long as the input is not generated by an * attacker. * * Note: The exact algorithm used (SHA-1) is not crucial for the function's * purpose of generating unique identifiers, and could be replaced if needed. * * @param data The input string to be hashed. * @returns The SHA-1 hash of the input string, represented as a * hexadecimal string. */ export declare function createNonCryptographicHashId(data: string): Promise; //# sourceMappingURL=crypto.d.ts.map