Structs§
- Member
Commitment Key - Commitment key to commit the set member
- Public
KeyG2 - Public key used to verify signatures
- Secret
Key - Secret key used by the signer to sign messages
- Signature
G1 - Signature
Params - Public parameters for creating and verifying BB signatures
- Signature
Params With Pairing SignatureParamswith pre-computation done for protocols to be more efficient
Functions§
- base_
n_ digits - Representation of
valueinbase-representation. Returns the basebasedigits in little-endian form - base_
n_ digits_ for_ u128 - generate_
secret_ key_ for_ base - is_
secret_ key_ valid_ for_ base - optimal_
base - Optimal base as suggested by the CCS and CLS paper as
log_2(range)/log_2(log_2(range))whererange = max - minA more optimal base can be calculated using numerical methods. - padded_
base_ n_ digits_ as_ field_ elements - Same as
base_n_digitsbut pads representation with 0s to the end to make the output vector length assize