Crate bls_eth_rust

Source
Expand description

bls-eth-rust is a library to support BLS signature for Ethereum 2.0 Phase 0

Structs§

Message
not used in eth2.0
PublicKey
public key type
SecretKey
secret key type
Signature
signature type

Enums§

BlsError
BlsError type for error
EthModeType
EthModeType is for set_eth_mode

Constants§

DOMAIN_SIZE
not used in eth2.0
HASH_AND_DOMAIN_SIZE
not used in eth2.0
HASH_SIZE
not used in eth2.0
MSG_SIZE
message is 32 byte in eth2.0

Functions§

are_all_msg_different
return true if size-byte splitted msgs are different each other
set_eth_mode
change the mode of Ethereum specification mode - mode of spec
verify_publickey_order
verify the correctness whenever signature setter is used
verify_signature_order
verify the correctness whenever signature setter is used