Expand description
Secp256k1 utility functions.
Functionsยง
- public_
key_ to_ address secp256k1
Converts a public key into an ethereum address by hashing the encoded public key with keccak256. - Recover signer address from message hash. This ensures that the signature S value is greater than
secp256k1n / 2
, as specified in EIP-2. - Recover signer from message hash, without ensuring that the signature has a low
s
value. - sign_
message secp256k1
Signs message with the given secret key. Returns the corresponding signature.