Available on crate feature
bbs
only.Expand description
BBS curves and BBS+ keypairs
This trait exposes signature and keytype primitives based on BBS+ cryptography.
Structs
- A BLS keypair where the public key can be in either G1 or G2
- A BLS public key where the public key can be either in G1 or G2
- A Bls and BBS+ secret key
Enums
- Error resulting from attempting to generate a BLS Keypair
- Error resulting from attempting to convert a BlsPublicKey or BlsSecretKey to a BBS+ Public Key
Constants
- This shows how the generators are created with nothing up my sleeve values
Functions
- Generate a blinded BLS key pair where secret key
x
and blinding factorr
in Fr and public keyW
=G1
*x
*Blinding_G1
*r
- Generate a blinded BLS key pair where secret key
x
and blinding factorr
in Fr and public keyW
=G2
*x
*Blinding_G2
*r
- Generate a BLS key pair where secret key
x
in Fr and public keyW
=G1
*x
- Generate a BLS key pair where secret key
x
in Fr and public keyW
=G1
*x