noble-secp256k1

Fastest 4KB JS implementation of secp256k1 signatures and ECDH

MIT License

Downloads
1.8M
Stars
752
Committers
12

Bot releases are hidden (Show)

noble-secp256k1 - 1.2.12

Published by paulmillr about 3 years ago

Buggy release, skip it

noble-secp256k1 - 1.2.11

Published by paulmillr about 3 years ago

  • Added signSync method that relies on utils.hmacSha256Sync. You need to define the hmac function, it's undefined by default, to not bring any deps
  • Removed experimental _syncSign method
noble-secp256k1 - 1.2.10

Published by paulmillr about 3 years ago

  • SchnorrSignature validation improvements
  • Small utils improvements
noble-secp256k1 - 1.2.9

Published by paulmillr about 3 years ago

  • Small perf improvement in JacobianPoint#double
  • Typescript publish
noble-secp256k1 - 1.2.8

Published by paulmillr over 3 years ago

Added experimental _syncSign() for cases when sync utils.hmacSha256() is used.

noble-secp256k1 - 1.2.7

Published by paulmillr over 3 years ago

  • Added browser field to package.json that indicates to browsers that require("crypto") imports shouldn't be loaded
  • Added support for service workers in browsers
noble-secp256k1 - 1.2.6

Published by paulmillr over 3 years ago

Add build files

noble-secp256k1 - 1.2.5

Published by paulmillr over 3 years ago

Improves utils.randomPrivateKey() generation: before, ~2**128 values (curve.n<value<2**256) had 2x chance to be generated. The chance is very small: 1/2**128. We're fixing this by using NIST SP 800-56A rev 3, section 5.6.1.2.2.

Thanks to Jan Winkelmann from LeastAuthority for reporting the issue.

noble-secp256k1 - 1.2.4

Published by paulmillr over 3 years ago

Bugfixes

noble-secp256k1 - 1.2.0

Published by paulmillr over 3 years ago

Fixed all bugs reported from the security audit

noble-secp256k1 - 1.1.3

Published by paulmillr over 3 years ago

noble-secp256k1 - 1.1.2

Published by paulmillr over 3 years ago

noble-secp256k1 - 1.1.1

Published by paulmillr almost 4 years ago

Fixes Schnorr signatures

noble-secp256k1 - 1.1.0

Published by paulmillr almost 4 years ago

Add support for Schnorr signatures per BIP0340.

noble-secp256k1 - 1.0.6

Published by paulmillr about 4 years ago

noble-secp256k1 - 1.0.5

Published by paulmillr over 4 years ago

Bugfixes

noble-secp256k1 - 0.4.0

Published by paulmillr over 4 years ago

  • Deterministic signatures as per RFC 6979.
  • Massive stability and correctness improvements
  • Tens of thousands of test vectors from tiny-secp256k1
noble-secp256k1 - 0.1.0

Published by paulmillr over 4 years ago

Initial release.