Expand description
bls-eth-rust is a library to support BLS signature for Ethereum 2.0 Phase 0
Structs§
Enums§
- BlsError
BlsError
type for error- EthMode
Type EthModeType
is forset_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 splittedmsgs
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