Module ethereum

Module ethereum 

Source

Enums§

EthereumCryptoError

Functions§

address_from_pubkey
Derive Ethereum address from public key (accepts 65-byte 0x04||XY or 64-byte XY)
hash_personal
EIP-191 personal message hash: keccak256(“\x19Ethereum Signed Message:\n{len}” || message)
public_key_uncompressed
Generate uncompressed public key with automatic private key zeroization Public wrapper around public_key_uncompressed_internal where the private key is automatically zeroized after use
sign_recoverable
Recoverable ECDSA signing with automatic private key zeroization Public wrapper around sign_recoverable_internal where the private key is automatically zeroized after use For usage see
zeroizing_private_key
Create a zeroizing private key from bytes - automatically zeroized on drop