Original archived Re: [Python] secp256k1 Curve Implementation – Lightweight & Educational
Scraped on 13/08/2025, 08:42:43 UTC
The actual link is
https://github.com/0xMouiz/python-secp256k1 but not very useful - appears to be geared towards mETH addicts.
As previous poster said, most all implementations are just wrappers over the C library and this is trivial to do.
It seems OP corrected the link after you made this post. I also just noticed that,
1. He claim the repository is related with Bitcoin while it use Keccak-256 that isn't used by Bitcoin.
Message signing with ECDSA (Keccak-256)
2. His example usage actually call `secp256k1` python library rather than running code on the repository.
🛠 Example Usagefrom secp256k1 import PrivateKey
# Generate private and public keys
priv = PrivateKey()
pub = priv.public_key()
print("Private key:", priv.to_hex())
print("Public key:", pub.to_hex())
Due to these reasons, i believe OP isn't owner or creator of that GitHub repository.