StarkBank ECDSA is a lightweight and fast pure Python library for Elliptic Curve Digital Signature Algorithm (ECDSA). As of version 2.2.0, it provides tools for generating private/public keys, signing data, and verifying signatures. The library maintains a steady release cadence, with several updates per year.
pip install starkbank-ecdsaVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to generate ECDSA private and public keys, sign a 32-byte message hash, and verify the resulting signature using `starkbank-ecdsa`.
Update your `requirements.txt` or `pyproject.toml` to `starkbank-ecdsa` and change all imports from `from ecdsa import ...` to `from starkbank_ecdsa import ...`.
If you need a different curve, ensure you are explicitly instantiating it (e.g., `private_key = PrivateKey.generate(curve=MyCustomCurve)`), but note that support for curves beyond `secp256k1` is not prominently featured or extensively tested.
Evaluate performance needs. For most standard applications, `starkbank-ecdsa` is sufficient. For extreme throughput, benchmark against `cryptography`'s ECDSA features.
No dependency data recorded yet.