secp256k1

Pure Haskell Schnorr, ECDSA on the elliptic curve secp256k1 (docs.ppad.tech/secp256k1).
git clone git://git.ppad.tech/secp256k1.git
Log | Files | Refs | README | LICENSE

CHANGELOG (1050B)


      1 # Changelog
      2 
      3 - 0.2.2 (2025-02-16)
      4   * Exports the secp256k1 "point at infinity" as _CURVE_ZERO.
      5 
      6 - 0.2.1 (2024-12-18)
      7   * Adds 'serialize_point' for compressed-format serialization of
      8     secp256k1 points.
      9 
     10 - 0.2.0 (2024-11-08)
     11   * Adds wNAF ("w-ary non-adjacent form") scalar multiplication, as
     12     well as fast 'sign' and 'verify' variants for Schnorr and ECDSA
     13     (disambiguated by a trailing apostrophe) that make use of it.
     14 
     15     Each wNAF-powered function requires a 'Context' consisting of
     16     precomputed secp256k1 generator multiples; one can be gotten via
     17     'precompute'.
     18 
     19     Note that the non-wNAF-powered sign and verify functions have
     20     incurred a slight performance decrease (on the order of tens to
     21     hundreds of microseconds) as a result.
     22 
     23   * Adds 'parse_sig' for parsing compact signatures.
     24 
     25   * Adds a dependency on the 'primitive' library (already transitively required
     26     via 'ppad-hmac-drbg').
     27 
     28 - 0.1.0 (2024-10-19)
     29   * Initial release, supporting public key derivation and Schnorr &
     30     ECDSA signatures on secp256k1.
     31