Module bls

Source
Expand description

A BLS signature wrapper

Structs§

BLSPrivateKey
BLS signature private key
BLSPublicKey
BLS signature public key
BLSPublicKeyUnchecked
Used to deserialize keys in local storage whose validity has been checked before.
BLSSignature
BLS signature wrapper
BLSSignatureUnchecked
Used to deserialize keys in local storage whose validity has been checked before.

Constants§

BLS_PRIVATE_KEY_LENGTH
Private key length in bytes. The actual key length should be 255 bits.
BLS_PUBLIC_KEY_LENGTH
Public key length in bytes.
BLS_SIGNATURE_LENGTH
Signature length in bytes.

Functions§

deserialize_bls_public_key_unchecked
Deserialize public key from local storage.