TypeScript Cryptography

Open-source TypeScript projects categorized as Cryptography

Top 23 TypeScript Cryptography Projects

  • javascript-obfuscator

    A powerful obfuscator for JavaScript and Node.js

    Project mention: Question about backticks | /r/learnjavascript | 2023-07-20

    I was considering using a obfuscation library (https://github.com/javascript-obfuscator/javascript-obfuscator) and noticed in the usage example that backticks are used and the javascript is enclosed within. The issue is that my javascript already has backticks from using template literals so my code then errors out.

  • Maskbook

    The portal to the new, open Internet. ([I:b])

    Project mention: Security audit for the Smart Contract Of Mask Network has been completed by #HackSafe ✅ | /r/u_HackSafe | 2023-01-30

    Know more about : https://mask.io/

  • Appwrite

    Appwrite - The open-source backend cloud platform. The open-source backend cloud platform for developing Web, Mobile, and Flutter applications. You can set up your backend faster with real-time APIs for authentication, databases, file storage, cloud functions, and much more!

  • login-with-metamask-demo

    Demo project for "One-click Login with Blockchain: A MetaMask Tutorial"

    Project mention: DApp API with FastAPI [Backend Blueprint] | /r/Python | 2022-11-22

    Also strongly considering creating a jwt.io replicate with Django and FastAPI next time, which will include not just JWT generation with friendly UI, but also Web3 digital signing (read more here), their both encryption and decryptions as well, which are really pain in the ass and a must for a Web3 dev.

  • trezor-suite

    :candy: Trezor Suite Monorepo

    Project mention: Trezor Suite added and later removed AOPP supporty | /r/aopp | 2023-08-16

    Removed (January 2022): https://github.com/trezor/trezor-suite/pull/4825

  • noble-curves

    Audited & minimal JS implementation of elliptic curve cryptography.

    Project mention: The AT protocol is the most obtuse crock of s* | news.ycombinator.com | 2023-05-09

    BlueSky uses @noble/secp256k1 which performs this stuff in Javascript, with about 880* verifications per second on the Apple M2 (a chip with a relatively high IPC, likely higher than your average server).

    Verifying those messages will take about a minute of CPU time per user (assuming no impact from cache misses due to threads swapping in and out and processing new data). I think that's quite significant.

    * = https://github.com/paulmillr/noble-curves

  • padding-oracle-attacker

    🔓 CLI tool and library to execute padding oracle attacks easily, with support for concurrent network requests and an elegant UI.

  • hyperhyperspace-core

    A library to create p2p applications, using the browser as a full peer.

    Project mention: Ask HN: What Are You Working on This Year? | news.ycombinator.com | 2023-01-02
  • Sonar

    Write Clean JavaScript Code. Always.. Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • zkp-ecdsa

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

  • Broprint.js

    The world's easiest, smallest and powerful visitor identifier for browsers.

  • multichain-crypto-wallet

    A Multichain crypto wallet library that supports Ethereum, Bitcoin, Solana, Waves and other EVM compatible blockchains E.g. Binance Smart Chain, Polygon, Avalanche etc.

  • stablelib

    A stable library of useful TypeScript/JavaScript code

    Project mention: What encryption library do you use? | /r/Skiff | 2023-05-16

    We use https://tweetnacl.js.org/#/ and some libraries from https://github.com/StableLib/stablelib

  • penumbra

    Encrypt/decrypt anything in the browser using streams on background threads. (by transcend-io)

  • auth

    Decentralized authentication and authorization for team collaboration, using a secure chain of cryptological signatures. (Formerly known as 🌮 Taco.) (by local-first-web)

    Project mention: Open source P2P alternative to Slack and Discord built on Tor and IPFS | news.ycombinator.com | 2023-09-11

    Re: key distribution, we're just changing it now but in a few days the scheme will be:

    1. a community member sends you an invite link containing some onion addresses of community members

    2. you sync community data and send a CSR to the community owner.

    3. We show an "unregistered" message next to your name until the community owner signs your CSR, at which point you're a full member.

    We use PKI.js for the certs. For multi-party message-layer encryption with multi-device support we plan on using: https://github.com/local-first-web/auth, which is inspired by Keybase and a Martin Kleppmann paper.

  • 2key-ratchet

    2key-ratchet is an implementation of a Double Ratchet protocol and X3DH in TypeScript utilizing WebCrypto.

  • nanocurrency-web-js

    Toolkit for Nano cryptocurrency client side offline integrations without requiring NodeJS functions

    Project mention: Converting NANO to raw in Node.JS | /r/nanocurrency | 2023-02-13

    You got two options for NodeJS libraries: - https://github.com/marvinroger/nanocurrency-js - https://github.com/numsu/nanocurrency-web-js

  • rawr-x3dh

    TypeScript Implementation of X3DH

  • open-attestation

    Meta framework for providing digital provenance and integrity to documents.

  • qrdate

    Trusted timestamps that you can physically include in photos, videos and live streams using QR codes and audible data signals.

  • digi-cloak

    A web app that hides secrets in plain sight securely in images with the help of AES encryption and LSB steganography technique.

    Project mention: Show HN: I store my critical secrets and document, and communicate privately | news.ycombinator.com | 2022-12-21

    > Prior art

    > I came up with Portable Secret on my own, but I have since found a few projects that do something similar.

    > https://github.com/kaushalmeena/digi-cloak

    > If you are aware of other similar projects, please let me know and I’ll link them here.

    Digi-Cloak appears to be an in-browser steganography tool, but this project looks more like an encrypted pastebin (e.g., PrivateBin [1]).

    [1] https://privatebin.info/

  • crypto

    Cryptographic operations in WASM, C, Typescript for Nodejs and the browser. (by deliberative)

    Project mention: Typescript/WASM library with cryptographic operations based on libsodium, Shamir secret sharing, Merkle trees. Runs on Nodejs and the browser. Feedback is encouraged! | /r/crypto | 2023-01-24
  • monocypher-wasm

    WebAssembly port and JS wrapper library for Monocypher (https://monocypher.org)

  • libjs

    Archethic Javascript SDK

    Project mention: How to Build & Deploy Smart Contracts on Archethic? | dev.to | 2022-10-20

    Archethic have an SDK to build transactions (https://github.com/archethic-foundation/libjs), which provide a page to build transaction (example/transactionBuilder)

  • dunlin

    Knowledge management for crypto natives

    Project mention: Logseq as Team Knowledge System - Thoughtworks Radar | /r/logseq | 2023-05-02

    It's open source and still in its early stages. It's pretty limited, and there's no way of identifying who made what change or adding an alias (contributors are only identified by their wallet signature).

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

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). The latest post mention was on 2023-09-11.

TypeScript Cryptography related posts


What are some of the best open-source Cryptography projects in TypeScript? This list will help you:

Project Stars
1 javascript-obfuscator 11,727
2 Maskbook 1,463
3 login-with-metamask-demo 661
4 trezor-suite 523
5 noble-curves 451
6 padding-oracle-attacker 185
7 hyperhyperspace-core 184
8 zkp-ecdsa 176
9 Broprint.js 175
10 multichain-crypto-wallet 165
11 stablelib 147
12 penumbra 128
13 auth 126
14 2key-ratchet 102
15 nanocurrency-web-js 67
16 rawr-x3dh 64
17 open-attestation 43
18 qrdate 36
19 digi-cloak 35
20 crypto 22
21 monocypher-wasm 16
22 libjs 14
23 dunlin 11
Free Global Payroll designed for tech teams
Building a great tech team takes more than a paycheck. Zero payroll costs, get AI-driven insights to retain best talent, and delight them with amazing local benefits. 100% free and compliant.