mirror of
https://github.com/bitcoin/bips.git
synced 2026-02-09 15:23:09 +00:00
git-subtree-dir: bip-0374/secp256k1lab git-subtree-split: 44dc4bd893b8f03e621585e3bf255253e0e0fbfb
588 B
588 B
secp256k1lab
An INSECURE implementation of the secp256k1 elliptic curve and related cryptographic schemes written in Python, intended for prototyping, experimentation and education.
Features:
- Low-level secp256k1 field and group arithmetic.
- Schnorr signing/verification and key generation according to BIP-340.
- ECDH key exchange.
WARNING: The code in this library is slow and trivially vulnerable to side channel attacks.