function · Browser and Node
poseidon2
Poseidon2 over BN254 as Noir's Poseidon2::hash(inputs, inputs.length) (noir-lang/poseidon v0.4.0).
@toip-tools/anon-membershipView sourceimport { poseidon2 } from "@toip-tools/anon-membership";
Declaration
poseidon2(inputs: Field[]): Field;
Parameters
inputsrequiredbigint[]
Returns
bigint