Sign ( private_key, message ) # Verifying assert bls_pop. SkToPk ( private_key ) message = b ' \xab ' * 32 # The message to be signed # Signing signature = bls_pop. The following ciphersuites are available from this library: The BLS standards specify different ciphersuites which each have different functionality to accommodate various use cases.
Py_ecc implements the IETF BLS draft standard v4 as per the inter-blockchain standardization agreement. Warning: This library contains some experimental codes that have NOT been audited. Elliptic curve crypto in python including secp256k1, alt_bn128, and bls12_381.