Return the wrapped bytearray
Return the hex representation of the wrapped bytearray
Return the length of the wrapped bytearray
StaticfromStaticfromStaticnewThe part of commitment key used for attributes
OptionalbaseForSecretKey: Uint8ArrayThe part of commitment key used for secret key
OptionalsecretKey: Uint8Array
Similar to
Pseudonymabove 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