noble-secp256k1
subtls
noble-secp256k1 | subtls | |
---|---|---|
3 | 20 | |
696 | 348 | |
- | - | |
7.5 | 8.0 | |
14 days ago | 2 months ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
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
-
A beginner's guide to constant-time cryptography (2017)
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
- How to encrypt data in JS using a library
subtls
- See this page fetch itself, byte by byte, over TLS
-
A beginner's guide to constant-time cryptography (2017)
Thanks, that’s a helpful summary. I knew about the ed25519 issue (but not the others) from writing this: https://github.com/jawj/subtls
- Learn and Test DMARC
- A TypeScript TLS 1.3 Client
- TLS, byte by byte
-
Taking Care of Your Mental Health as a Software Developer 🧠
🧪 Experiment - See this page fetch itself, byte by byte, over TLS. Learn about TLS by seeing how a page is downloaded.
What are some alternatives?
javascript-obfuscator - A powerful obfuscator for JavaScript and Node.js
ipyflow - A reactive Python kernel for Jupyter notebooks.
zkp-ecdsa - Proves knowledge of an ECDSA-P256 signature under one of many public keys that are stored in a list.
idiomorph - A DOM-merging algorithm
elliptic - Fast Elliptic Curve Cryptography in plain javascript
scheme-for-max - Max/MSP external for scripting and live coding Max with s7 Scheme Lisp
secp256k1-voi - High assurance Go secp256k1 (Mirror)
Civet - A TypeScript superset that favors more types and less typing
Ed25519Tool - Ed25519 signing and verification online tool.
drummachine
trezor-suite - :candy: Trezor Suite Monorepo
formkiq-core - A full-featured Document Layer for your application, providing the functionality of a flexible document management system, including storage, discovery, processing, and retrieval. Deploys directly into your Amazon Web Services Cloud. 🌟 Star to support our work!