Return the wrapped bytearray
Return the hex representation of the wrapped bytearray
Return the length of the wrapped bytearray
Static
fromStatic
fromStatic
newThe part of commitment key used for attributes
Optional
baseForSecretKey: Uint8ArrayThe part of commitment key used for secret key
Optional
secretKey: Uint8Array
Similar to
Pseudonym
above but can be additionally bound to one or more attributes from multiple credentials. This is also usable when a verifier wants to restrict a prover from having multiple pseudonyms from the same set of attributes by not allowing it to use a secret key but only its attributes. Note that such pseudonyms are vulnerable to brute force attack where all possible combinations of attribute values can be checked against the pseudonym thus potentially de-anonymizing the prover. The implementation uses Pedersen commitment