UNPKG

@iden3/js-crypto

Version:
16 lines 517 B
import { F1Field } from '../ff'; export declare const OPT: { C: bigint[][]; S: bigint[][]; M: bigint[][][]; P: bigint[][][]; }; export declare class Poseidon { static F: F1Field; static hash(inputs: bigint[]): bigint; static hashBytes(msg: Uint8Array): bigint; static hashBytesX(msg: Uint8Array, frameSize: number): bigint; static spongeHashX(inputs: bigint[], frameSize: number): bigint; } export declare const poseidon: typeof Poseidon; //# sourceMappingURL=poseidon-opt.d.ts.map