Constructors Properties Accessorsbytes get bytes( ) : Uint8Array Returns Uint8Array hex get hex( ) : string Returns string length get length( ) : number Returns number MethodsStatic
bbs Plus Signature Params G1 Static
bbs Plus Signature Public Key G2 bbs Plus Signature Public Key G2 ( publicKey ) : SetupParam Static
bpp Setup Params Uncompressed Static
legosnark Proving Key Static
legosnark Proving Key Uncompressed Static
legosnark Verifying Key Static
legosnark Verifying Key Uncompressed legosnark Verifying Key Uncompressed ( key ) : SetupParam Static
ped Comm Key G1 Uncompressed ped Comm Key G1 Uncompressed ( commKey ) : SetupParam Parameters commKey : PederCommKeyUncompressed Static
pedersen Commitment Key G1 pedersen Commitment Key G1 ( commitmentKey ) : SetupParam Parameters commitmentKey : Uint8Array [] Static
ps Signature Public Key Static
saver Commitment Key Uncompressed saver Commitment Key Uncompressed ( commKey ) : SetupParam Static
saver Encryption Gens Static
saver Encryption Gens Uncompressed saver Encryption Gens Uncompressed ( encGens ) : SetupParam Static
saver Encryption Key Uncompressed Static
saver Proving Key Uncompressed Static
saver Verifying Key Uncompressed Static
smc Setup Params Uncompressed Static
smc Setup Params With Sk Static
smc Setup Params With Sk Uncompressed smc Setup Params With Sk Uncompressed ( params ) : SetupParam Static
vb Accumulator Mem Proving Key vb Accumulator Mem Proving Key ( provingKey ) : SetupParam Static
vb Accumulator Non Mem Proving Key vb Accumulator Non Mem Proving Key ( provingKey ) : SetupParam Static
vb Accumulator Params Static
vb Accumulator Public Key
Represents (public) setup parameters of different protocols. Different setup parameters can be wrapped in this and then a reference to this is passed to the
Statement
. This is helpful when the same setup parameter needs to be passed to severalStatement
s as it avoids the need of having several copies of the setup parameter.