Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 588 Bytes

File metadata and controls

13 lines (9 loc) · 588 Bytes

secp256k1lab

Dependencies: None

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.