noble-secp256k1 VS constant-time

Compare noble-secp256k1 vs constant-time and see what are their differences.

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
noble-secp256k1 constant-time
3 4
696 18
- -
7.5 0.0
14 days ago about 2 years ago
JavaScript WebAssembly
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

noble-secp256k1

Posts with mentions or reviews of noble-secp256k1. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-22.
  • A beginner's guide to constant-time cryptography (2017)
    6 projects | news.ycombinator.com | 22 Feb 2024
    I noticed in July of 2022 that Go did exactly the vulnerable example and reported it to the security team.

    https://github.com/golang/go/issues/53849

    It was fixed as of Go 1.21 https://go.dev/doc/go1.21

    ---

    The article cites JavaScript, which is not constant time. There's no sure way to do constant time operations in JavaScript and thus no secure way to do crypto directly in Javascript. Browsers like Firefox depend on low level calls which should be implemented in languages that are constant time capable.

    JavaScript needs something like constant time WASM in order to do crypto securely, but seeing the only constant time WASM project on GitHub has only 16 stars and the last commit was 2 years ago, it doesn't appear to have much interest. https://github.com/WebAssembly/constant-time

    However, for JavaScript, I recommend Paul's library Noble which is "hardened to be algorithmically constant time". It is by far the best library available for JavaScript. https://github.com/paulmillr/noble-secp256k1

  • Noble Cryptography
    1 project | news.ycombinator.com | 8 Dec 2023
  • How to encrypt data in JS using a library
    2 projects | /r/learnjavascript | 14 Mar 2022

constant-time

Posts with mentions or reviews of constant-time. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-22.
  • A beginner's guide to constant-time cryptography (2017)
    6 projects | news.ycombinator.com | 22 Feb 2024
    I noticed in July of 2022 that Go did exactly the vulnerable example and reported it to the security team.

    https://github.com/golang/go/issues/53849

    It was fixed as of Go 1.21 https://go.dev/doc/go1.21

    ---

    The article cites JavaScript, which is not constant time. There's no sure way to do constant time operations in JavaScript and thus no secure way to do crypto directly in Javascript. Browsers like Firefox depend on low level calls which should be implemented in languages that are constant time capable.

    JavaScript needs something like constant time WASM in order to do crypto securely, but seeing the only constant time WASM project on GitHub has only 16 stars and the last commit was 2 years ago, it doesn't appear to have much interest. https://github.com/WebAssembly/constant-time

    However, for JavaScript, I recommend Paul's library Noble which is "hardened to be algorithmically constant time". It is by far the best library available for JavaScript. https://github.com/paulmillr/noble-secp256k1

  • Age WASM - age encryption tool in the browser
    4 projects | /r/golang | 17 Nov 2022
    Also see the constant time spec: https://github.com/WebAssembly/constant-time
  • Show HN: We are trying to (finally) get tail-calls into the WebAssembly standard
    11 projects | news.ycombinator.com | 12 Jul 2022
    I'm waiting for constant time WASM. https://github.com/WebAssembly/constant-time/blob/main/propo...
  • Ed25519 Online Tool - Sign, Verify, and Generate Ed25519 Keys.
    4 projects | /r/crypto | 8 Jun 2022
    Also: We're excited for constant time Wasm.

What are some alternatives?

When comparing noble-secp256k1 and constant-time you can also consider the following projects:

javascript-obfuscator - A powerful obfuscator for JavaScript and Node.js

Ed25519Tool - Ed25519 signing and verification online tool.

zkp-ecdsa - Proves knowledge of an ECDSA-P256 signature under one of many public keys that are stored in a list.

proposal-ptc-syntax - Discussion and specification for an explicit syntactic opt-in for Tail Calls.

elliptic - Fast Elliptic Curve Cryptography in plain javascript

uwm-masters-thesis - My thesis for my Master's in Computer Science degree from the University of Wisconsin - Milwaukee.

secp256k1-voi - High assurance Go secp256k1 (Mirror)

spec - WebAssembly specification, reference interpreter, and test suite.

ecma262 - Status, process, and documents for ECMA-262

trezor-suite - :candy: Trezor Suite Monorepo

TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.