[−][src]Crate bls_eth_rust
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 |
|
EthModeType |
|
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 |
set_eth_mode | change the mode of Ethereum specification
|
verify_publickey_order | verify the correctness whenever signature setter is used |
verify_signature_order | verify the correctness whenever signature setter is used |