function · Browser and Node
initHashing
Loads Barretenberg's WebAssembly once, for hashing. Call before any hash function. It needs no setup data and fetches nothing beyond bb.js's own bundled module.
@toip-tools/anon-membershipView sourceimport { initHashing } from "@toip-tools/anon-membership";
Declaration
initHashing(): Promise<void>;
No parameters.
Returns
Promise<void>