Return the wrapped bytearray
Return the hex representation of the wrapped bytearray
Return the length of the wrapped bytearray
Verify the signature
Ordered list of messages. Order and contents should be kept same for both signer and verifier
If true, the messages are encoded as field elements otherwise they are assumed to be already encoded.
Static
blindUsed by the signer to create a blind signature
The blind sig request sent by user.
The messages known to the signer
Static
fromStatic
fromStatic
fromGenerate a blind signature from request
Static
generateGenerates a blind signature over the commitment of unrevealed messages and revealed messages
Commitment over unrevealed messages sent by the requester of the blind signature. Its assumed that the signers has verified the knowledge of committed messages
Static
generateGenerate a request for a blind signature
messages the requester wants to hide from the signer. The key of the map is the index of the message as per the params.
Optional
revealedMessages: Map<number, Uint8Array>Any messages that the requester wishes to inform the signer about. This is for informational purpose only and has no cryptographic use.
Wraps a bytearray, i.e. Uint8Array. Used to give distinct types to objects as most of them are bytearrays because that is what the WASM bindings accept and return.