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 a8e39f5741138e1e0383a42650640a107bc71126
parent f4b3b17adae1d71c01418a6dd921751ecade863d
Author: Jared Tobin <jared@jtobin.io>
Date:   Wed, 18 Dec 2024 17:36:24 -0330

lib: more consistent text in example

Diffstat:
Mlib/Crypto/Curve/Secp256k1.hs | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/Crypto/Curve/Secp256k1.hs b/lib/Crypto/Curve/Secp256k1.hs @@ -779,8 +779,8 @@ parse_sig bs -- | Serialize a secp256k1 point in 33-byte compressed form. -- --- >>> serialize_point <secp256k1 point> --- "<33-byte bytestring>" +-- >>> serialize_point pub +-- "<33-byte compressed point>" serialize_point :: Projective -> BS.ByteString serialize_point (affine -> Affine x y) = BS.cons b (unroll32 x) where b | I.integerTestBit y 0 = 0x03