Constructors
Methods
Static
attributeBoundPseudonym
- attributeBoundPseudonym(attributes, secretKey?): Uint8Array
Parameters
- attributes: Uint8Array[]
Optional
secretKey: Uint8Array
Returns Uint8Array
Static
bbdt16Mac
- bbdt16Mac(mac, unrevealedMessages, encodeMessages): Uint8Array
Parameters
- mac: BBDT16Mac
- unrevealedMessages: Map<number, Uint8Array>
- encodeMessages: boolean
Returns Uint8Array
Static
bbdt16MacConstantTime
- bbdt16MacConstantTime(mac, unrevealedMessages, encodeMessages): Uint8Array
Parameters
- mac: BBDT16Mac
- unrevealedMessages: Map<number, Uint8Array>
- encodeMessages: boolean
Returns Uint8Array
Static
bbsPlusSignature
- bbsPlusSignature(signature, unrevealedMessages, encodeMessages): Uint8Array
Parameters
- signature: BBSPlusSignatureG1
- unrevealedMessages: Map<number, Uint8Array>
- encodeMessages: boolean
Returns Uint8Array
Static
bbsPlusSignatureConstantTime
- bbsPlusSignatureConstantTime(signature, unrevealedMessages, encodeMessages): Uint8Array
Parameters
- signature: BBSPlusSignatureG1
- unrevealedMessages: Map<number, Uint8Array>
- encodeMessages: boolean
Returns Uint8Array
Static
bbsSignature
- bbsSignature(signature, unrevealedMessages, encodeMessages): Uint8Array
Parameters
- signature: BBSSignature
- unrevealedMessages: Map<number, Uint8Array>
- encodeMessages: boolean
Returns Uint8Array
Static
bbsSignatureConstantTime
- bbsSignatureConstantTime(signature, unrevealedMessages, encodeMessages): Uint8Array
Parameters
- signature: BBSSignature
- unrevealedMessages: Map<number, Uint8Array>
- encodeMessages: boolean
Returns Uint8Array
Static
boundCheckBpp
- boundCheckBpp(message): Uint8Array
Returns Uint8Array
Static
boundCheckLegoGroth16
- boundCheckLegoGroth16(message): Uint8Array
Returns Uint8Array
Static
boundCheckSmc
- boundCheckSmc(message): Uint8Array
Returns Uint8Array
Static
boundCheckSmcWithKV
- boundCheckSmcWithKV(message): Uint8Array
Returns Uint8Array
Static
kbUniAccumulatorMembership
- kbUniAccumulatorMembership(member, accumulatorWitness): Uint8Array
Returns Uint8Array
Static
kbUniAccumulatorNonMembership
- kbUniAccumulatorNonMembership(nonMember, accumulatorWitness): Uint8Array
Returns Uint8Array
Static
pedersenCommitment
- pedersenCommitment(elements): Uint8Array
Returns Uint8Array
Static
pseudonym
- pseudonym(secretKey): Uint8Array
Returns Uint8Array
Static
psSignature
- psSignature(signature, unrevealedMessages): Uint8Array
Parameters
- signature: PSSignature
- unrevealedMessages: Map<number, Uint8Array>
Returns Uint8Array
Static
psSignatureConstantTime
- psSignatureConstantTime(signature, unrevealedMessages): Uint8Array
Parameters
- signature: PSSignature
- unrevealedMessages: Map<number, Uint8Array>
Returns Uint8Array
Static
publicInequality
- publicInequality(message): Uint8Array
Returns Uint8Array
Static
r1csCircomWitness
- r1csCircomWitness(inputs): Uint8Array
Returns Uint8Array
Static
saver
- saver(message): Uint8Array
Returns Uint8Array
Static
vbAccumulatorMembership
- vbAccumulatorMembership(member, accumulatorWitness): Uint8Array
Returns Uint8Array
Static
vbAccumulatorNonMembership
- vbAccumulatorNonMembership(nonMember, accumulatorWitness): Uint8Array
Returns Uint8Array
Private data known only to the prover whose knowledge is being proved in a proof.