mirror of
https://github.com/bitcoin/bips.git
synced 2026-11-02 19:41:29 +00:00
Add a vendored copy of the secp256k1lab library (master branch, commit a265da139aea27386085a2a8760f8698e1bda64e) that the half-aggregation reference implementation and test vector scripts depend on.
14 lines
588 B
Markdown
14 lines
588 B
Markdown
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](https://github.com/bitcoin/bips/blob/master/bip-0340.mediawiki).
|
|
* ECDH key exchange.
|
|
|
|
WARNING: The code in this library is slow and trivially vulnerable to side channel attacks.
|