Module secp256k1

Expand description

Secp256k1 utility functions.

Functionsยง

public_key_to_address
Converts a public key into an ethereum address by hashing the encoded public key with keccak256.
recover_signer_unchecked
Recovers the address of the sender using secp256k1 pubkey recovery.
sign_message
Signs message with the given secret key. Returns the corresponding signature.