identity_iota::storage::bls

Function generate_bbs_keypair

Source
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.