JavaScript Cryptography

Open-source JavaScript projects categorized as Cryptography

Top 23 JavaScript Cryptography Projects

  • JavaScript

    Algorithms and Data Structures implemented in JavaScript for beginners, following best practices. (by TheAlgorithms)

  • Project mention: 🧙‍♂️Master JavaScript with these 5 GitHub repositories🪄✨🚀 | dev.to | 2024-03-16

    4. The Algorithm - Javascript

  • gun

    An open source cybersecurity protocol for syncing decentralized graph data.

  • Project mention: gun: NEW Data - star count:17470.0 | /r/algoprojects | 2023-10-28
  • 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 logo
  • forge

    A native implementation of TLS in Javascript and tools to write crypto-based and network-heavy webapps (by digitalbazaar)

  • Project mention: Forge: Native implementation of TLS in JavaScript for web apps | news.ycombinator.com | 2024-03-24
  • end-to-end

    End-To-End is a crypto library to encrypt, decrypt, digital sign, and verify signed messages (implementing OpenPGP)

  • StegCloak

    Hide secrets with invisible characters in plain text securely using passwords 🧙🏻‍♂️⭐

  • 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
  • Padloc

    A modern, open source password manager for individuals and teams.

  • Project mention: Bitwarden: Free, open-source password manager | news.ycombinator.com | 2023-09-25

    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!

  • ufonet

    UFONet - Denial of Service Toolkit

  • 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.

    WorkOS logo
  • hat.sh

    Encrypt and Decrypt files securely in your browser.

  • SavjeeCoin

    A simple blockchain in Javascript. For educational purposes only.

  • challenge-bypass-extension

    DEPRECATED - Client for Privacy Pass protocol providing unlinkable cryptographic tokens

  • Project mention: Flagship Mastodon instance to require AI disclosure; bans AI-only accounts | news.ycombinator.com | 2024-03-18

    I'd be fine if "ID for the web" was implemented with privacypass https://privacypass.github.io/

  • Darkwire.io

    End-to-end encrypted instant web chat

  • Rando.js

    The world's easiest, most powerful random function.

  • Project mention: Aimless.js - the missing JS randomness library | /r/javascript | 2023-05-21

    Have you seen rando.js? It's a very similar library.

  • noble-secp256k1

    Fastest 4KB JS implementation of secp256k1 signatures and ECDH

  • Project mention: A beginner's guide to constant-time cryptography (2017) | news.ycombinator.com | 2024-02-22

    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-hashes

    Audited & minimal JS implementation of hash functions, MACs and KDFs.

  • noble-ed25519

    Fastest 4KB JS implementation of ed25519 signatures

  • react-native-bignumber

    🔢 The fastest Big Number library for React Native

  • deadbolt

    Dead-simple file encryption for any OS

  • goploader

    Easy file sharing with server-side encryption, curl/httpie/wget compliant

  • TokenScript

    TokenScript schema, specs and paper

  • JeChain

    JeChain decentralized application platform and smart contract blockchain network

  • 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

  • jwt-webtool

    Source code repo for the online JWT webtool.

  • 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.

    InfluxDB logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

JavaScript Cryptography related posts

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
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