Versions in this module Expand all Collapse all v0 v0.0.1 Jun 3, 2020 Changes in this version + func ArrayBigIntToString(bi []*big.Int) []string + func ParsePk(pkJson []byte) (*types.Pk, error) + func ParsePkBin(f *os.File) (*types.Pk, error) + func ParsePkGoBin(f *os.File) (*types.Pk, error) + func ParseProof(pj []byte) (*types.Proof, error) + func ParsePublicSignals(pj []byte) ([]*big.Int, error) + func ParseVk(vj []byte) (*types.Vk, error) + func ParseWitness(wJson []byte) (types.Witness, error) + func ParseWitnessBin(f *os.File) (types.Witness, error) + func PkToGoBin(pk *types.Pk) ([]byte, error) + func ProofToJson(p *types.Proof) ([]byte, error) + func ProofToJsonHex(p *types.Proof) ([]byte, error) + type PkString struct + A [][]string + B1 [][]string + B2 [][][]string + C [][]string + DomainSize int + HExps [][]string + NPublic int + NVars int + PolsA []map[string]string + PolsB []map[string]string + VkAlpha1 []string + VkBeta1 []string + VkBeta2 [][]string + VkDelta1 []string + VkDelta2 [][]string + type ProofString struct + A []string + B [][]string + C []string + Protocol string + func ProofStringToSmartContractFormat(s ProofString) ProofString + func ProofToHex(p *types.Proof) ProofString + func ProofToSmartContractFormat(p *types.Proof) ProofString + func ProofToString(p *types.Proof) ProofString + type VkString struct + Alpha []string + Beta [][]string + Delta [][]string + Gamma [][]string + IC [][]string + type WitnessString []string