stubs library

Functions

generateZkProof(Map<String, dynamic> circuitInputs, String provingKeyPath) String
Computes the Zero Knowledge Proof for the given set of inputs using the Proving Key located at the given path. Returns a string containing the data to ben sent to a verifier.
hashPoseidonHex(String claimData) String
////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////// Generates a Poseidon Hash of the given hex payload and returns it encoded in Base64
hashPoseidonString(String claimData) String
Generates a Poseidon Hash of the given UTF8 string and returns it encoded in Base64