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

commit 74ca5e3e78c330755c68097f9abfdec5ab6d82f7
parent e908a911aaa128077f803190461d55ce3d8ca592
Author: Jared Tobin <jared@jtobin.io>
Date:   Fri,  8 Nov 2024 17:05:15 +0400

release: v0.2.0

Diffstat:
MCHANGELOG | 18++++++++++++++++++
Mppad-secp256k1.cabal | 2+-
2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG b/CHANGELOG @@ -1,5 +1,23 @@ # Changelog +- 0.2.0 (2024-11-08) + * Adds wNAF ("w-ary non-adjacent form") scalar multiplication, as + well as fast 'sign' and 'verify' variants for Schnorr and ECDSA + (disambiguated by a trailing apostrophe) that make use of it. + + Each wNAF-powered function requires a 'Context' consisting of + precomputed secp256k1 generator multiples; one can be gotten via + 'precompute'. + + Note that the non-wNAF-powered sign and verify functions have + incurred a slight performance decrease (on the order of tens to + hundreds of microseconds) as a result. + + * Adds 'parse_sig' for parsing compact signatures. + + * Adds a dependency on the 'primitive' library (already transitively required + via 'ppad-hmac-drbg'). + - 0.1.0 (2024-10-19) * Initial release, supporting public key derivation and Schnorr & ECDSA signatures on secp256k1. diff --git a/ppad-secp256k1.cabal b/ppad-secp256k1.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: ppad-secp256k1 -version: 0.1.0 +version: 0.2.0 synopsis: Schnorr signatures & ECDSA on the elliptic curve secp256k1 license: MIT license-file: LICENSE