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. Learn more →
Top 23 JavaScript Cryptography Projects
-
JavaScript
Algorithms and Data Structures implemented in JavaScript for beginners, following best practices. (by TheAlgorithms)
-
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.
-
forge
A native implementation of TLS in Javascript and tools to write crypto-based and network-heavy webapps (by digitalbazaar)
-
end-to-end
End-To-End is a crypto library to encrypt, decrypt, digital sign, and verify signed messages (implementing OpenPGP)
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
challenge-bypass-extension
DEPRECATED - Client for Privacy Pass protocol providing unlinkable cryptographic tokens
-
diceware
A tool for generating strong Diceware passwords, with entropy and crack time estimates. (by grempe)
-
twilio-sample-backend-nodejs
A sample backend that demonstrates how to generate a Virgil JWT and Twilio token used for authentication with the Virgil and Twilio services
-
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.
4. The Algorithm - Javascript
Project mention: Forge: Native implementation of TLS in JavaScript for web apps | news.ycombinator.com | 2024-03-24
Project mention: It's the Job of My Dreams, but I'd Have to Write a Cover Letter, So Nevermind | news.ycombinator.com | 2023-11-08
Sorry, I install from the APK directly, available in the GitHub repo. I see someone already created an issue for it at https://github.com/padloc/padloc/issues/725 so thanks for bringing it up!
Project mention: Flagship Mastodon instance to require AI disclosure; bans AI-only accounts | news.ycombinator.com | 2024-03-18I'd be fine if "ID for the web" was implemented with privacypass https://privacypass.github.io/
Have you seen rando.js? It's a very similar library.
Project mention: A beginner's guide to constant-time cryptography (2017) | news.ycombinator.com | 2024-02-22I 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
JavaScript Cryptography related posts
- Forge: Native implementation of TLS in JavaScript for web apps
- Flagship Mastodon instance to require AI disclosure; bans AI-only accounts
- A beginner's guide to constant-time cryptography (2017)
- A Simple ZK-Rollup meant to help learners
- Learning Cryptography with Javascript
- Cloudflare verification not working
- It's the Job of My Dreams, but I'd Have to Write a Cover Letter, So Nevermind
-
A note from our sponsor - SurveyJS
surveyjs.io | 23 Apr 2024
Index
What are some of the best open-source Cryptography projects in JavaScript? This list will help you:
Project | Stars | |
---|---|---|
1 | JavaScript | 31,265 |
2 | gun | 17,784 |
3 | forge | 4,945 |
4 | end-to-end | 4,133 |
5 | StegCloak | 3,167 |
6 | Padloc | 2,531 |
7 | ufonet | 2,071 |
8 | hat.sh | 2,030 |
9 | SavjeeCoin | 1,696 |
10 | challenge-bypass-extension | 1,238 |
11 | Darkwire.io | 869 |
12 | Rando.js | 791 |
13 | noble-secp256k1 | 693 |
14 | noble-hashes | 466 |
15 | noble-ed25519 | 384 |
16 | react-native-bignumber | 328 |
17 | deadbolt | 323 |
18 | goploader | 270 |
19 | TokenScript | 238 |
20 | JeChain | 230 |
21 | diceware | 225 |
22 | twilio-sample-backend-nodejs | 127 |
23 | jwt-webtool | 111 |
Sponsored