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 - 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_ unchecked - Recover signer from message hash, without ensuring that the signature has a low
s
value. - sign_
message - Signs message with the given secret key. Returns the corresponding signature.