Module bls

Source
Expand description

BLS12381 utils.

Functions§

encode_bls_jwk
Encodes a private BBS+ key into JWK.
expand_bls_jwk
Attempts to decode JWK into a BBS+ keypair.
generate_bbs_keypair
Generates a new BBS+ keypair using either BLS12381-SHA256 or BLS12381-SHAKE256.
sign_bbs
Signs data and header using the given keys.
update_bbs_signature
Updates BBS+ signature’s timeframe data.