Functionsยง
- derive_
eth_ address - Derive the Ethereum address (0x-prefixed, lowercase) from a secp256k1 secret key.
- format_
timestamp_ nanos - RFC3339 with nanoseconds and Z suffix.
- load_
secp256k1_ privhex - Load a secp256k1 private key from lowercase hex (optionally 0x-prefixed).
- secp256k1_
pubkey_ uncompressed_ hex - Derive the uncompressed public key (0x04 || X || Y) as lowercase hex.
- sign_
compact_ hex - Sign arbitrary message bytes using RFC6979 deterministic ECDSA over SHA-256. Returns the compact 64-byte signature as lowercase hex (r||s).
- sign_
eip191_ recoverable_ hex - Sign using Ethereum EIP-191 message prefix and return 65-byte (r||s||v) hex with 0x prefix.
- sign_
recoverable_ keccak_ hex - Sign using Ethereum-style Keccak-256 digest and return 65-byte (r||s||v) hex.