reth::primitives::transaction::util

Module secp256k1

Available on crate feature secp256k1 only.
Expand description

Secp256k1 utility functions.

Functionsยง

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