pub fn generate_bbs_keypair(
alg: ProofAlgorithm,
) -> Result<(BBSplusSecretKey, BBSplusPublicKey), SingleStructError<KeyStorageErrorKind>>
Expand description
Generates a new BBS+ keypair using either BLS12381-SHA256
or BLS12381-SHAKE256
.
pub fn generate_bbs_keypair(
alg: ProofAlgorithm,
) -> Result<(BBSplusSecretKey, BBSplusPublicKey), SingleStructError<KeyStorageErrorKind>>
Generates a new BBS+ keypair using either BLS12381-SHA256
or BLS12381-SHAKE256
.