All secure systems on the internet use HTTPS, which means the encrypted data sent from a browser is decrypted only at the server end and vice versa. But even while storing this data, we need to ensure that it’s secure and unreadable by unauthorized personnel. This is now possible using JavaScript, where we can implement both symmetric key cryptography and asymmetric encryption using algorithms like Triple DES and AES, which use 128 bits key length and above for increased security. With this in mind, let’s look at some of the JavaScript encryption libraries. gun - open source cybersecurity protocol; jsencrypt - Javascript library to perform OpenSSL RSA Encryption; Forge - A fully native implementation of the TLS protocol in JavaScript, a set of cryptography utilities, and a set of tools for developing Web Apps that utilize many network resources. Full list of the best open-source JavaScript Encryption libraries below.
CyberChefby gchq
The Cyber Swiss Army Knife - a web app for encryption, encoding, compression and data analysis
CyberChefby gchq
JavaScript 21425 Version:v10.4.0 License: Permissive (Apache-2.0)
gunby amark
An open source cybersecurity protocol for syncing decentralized graph data.
gunby amark
JavaScript 17214 Version:0.2019.413 License: Others (Non-SPDX)
jsencryptby travist
A zero-dependency Javascript library to perform OpenSSL RSA Encryption, Decryption, and Key Generation.
jsencryptby travist
JavaScript 6252 Version:Current License: Others (Non-SPDX)
shaka-playerby google
JavaScript player library / DASH & HLS client / MSE-EME player
shaka-playerby google
JavaScript 5536 Version:v3.1.6 License: Permissive (Apache-2.0)
forgeby digitalbazaar
A native implementation of TLS in Javascript and tools to write crypto-based and network-heavy webapps
forgeby digitalbazaar
JavaScript 4721 Version:Current License: Others (Non-SPDX)
end-to-endby google
End-To-End is a crypto library to encrypt, decrypt, digital sign, and verify signed messages (implementing OpenPGP)
end-to-endby google
JavaScript 4094 Version:Current License: Permissive (Apache-2.0)
buttercup-desktopby buttercup
:key: Cross-Platform Passwords & Secrets Vault
buttercup-desktopby buttercup
TypeScript 4032 Version:v2.20.3 License: Strong Copyleft (GPL-3.0)
stegcloakby KuroLabs
Hide secrets with invisible characters in plain text securely using passwords 🧙🏻♂️⭐
stegcloakby KuroLabs
JavaScript 2939 Version:v1.1.1 License: Others (Non-SPDX)
SavjeeCoinby Savjee
A simple blockchain in Javascript. For educational purposes only.
SavjeeCoinby Savjee
JavaScript 1658 Version:Current License: Permissive (MIT)
hat.shby sh-dv
Encrypt and Decrypt files securely in your browser.
hat.shby sh-dv
JavaScript 1774 Version:v2.3.6 License: Permissive (MIT)
cryptiiby cryptii
Web app and framework offering modular conversion, encoding and encryption
cryptiiby cryptii
JavaScript 1270 Version:v4.0.9 License: Permissive (MIT)
crypticoby wwwtyro
An easy-to-use encryption system utilizing RSA and AES for javascript.
crypticoby wwwtyro
JavaScript 1163 Version:Current License: No License
PKI.jsby PeculiarVentures
PKI.js is a pure JavaScript library implementing the formats that are used in PKI applications (signing, encryption, certificate requests, OCSP and TSP requests/responses). It is built on WebCrypto (Web Cryptography API) and requires no plug-ins.
PKI.jsby PeculiarVentures
TypeScript 1149 Version:v3.0.8 License: Others (Non-SPDX)
ZeroBinby sebsauvage
A minimalist, opensource online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted in the browser using 256 bits AES.
ZeroBinby sebsauvage
JavaScript 939 Version:0.19 License: No License
next-iron-sessionby vvo
🛠 Next.js stateless session utility using signed and encrypted cookies to store data
next-iron-sessionby vvo
JavaScript 871 Version:v4.2.0 License: Permissive (MIT)
sdk-jsby TankerHQ
Tanker client-side encryption SDK for JavaScript
sdk-jsby TankerHQ
TypeScript 795 Version:v3.3.0 License: Others (Non-SPDX)
password-managerby clipperz
Clipperz is an online vault and password manager that knows nothing about you and your data. Everything you submit is locally encrypted by your browser before being uploaded to Clipperz. The encryption key is a passphrase known only to you and Clipperz could never access your data. Clipperz is built upon open proven and trusted encryption algorithms.
password-managerby clipperz
JavaScript 669 Version:Current License: Strong Copyleft (AGPL-3.0)
SecurityWorkerby ErosZy
The best javascript code protection solution ever.
SecurityWorkerby ErosZy
C++ 642 Version:Current License: No License
eth-cryptoby pubkey
Cryptographic javascript-functions for ethereum and tutorials to use them with web3js and solidity
eth-cryptoby pubkey
JavaScript 816 Version:2.0.0 License: Permissive (MIT)
jshashesby h2non
Fast and dependency-free cryptographic hashing library for node.js and browsers (supports MD5, SHA1, SHA256, SHA512, RIPEMD, HMAC)
jshashesby h2non
JavaScript 634 Version:v1.0.8 License: Permissive (BSD-3-Clause)
secure-lsby softvar
:lock: Secure localStorage data with high level of encryption and data compression
secure-lsby softvar
JavaScript 569 Version:Current License: Permissive (MIT)
gibberish-aesby mdp
A fully OpenSSL compliant javascript library for AES encryption.
gibberish-aesby mdp
JavaScript 471 Version:Current License: No License
link-lockby jstrieb
Password-protect URLs using AES in the browser; create hidden bookmarks without a browser extension
link-lockby jstrieb
JavaScript 712 Version:Current License: Permissive (MIT)
cipherhubby substack
encrypt messages based on ssh public keys with easy import from github
cipherhubby substack
JavaScript 417 Version:Current License: Others (Non-SPDX)
js-joseby square
JavaScript library to encrypt/decrypt data in JSON Web Encryption (JWE) format and to sign/verify data in JSON Web Signature (JWS) format. Leverages Browser's native WebCrypto API.
js-joseby square
JavaScript 394 Version:v0.2.2 License: Permissive (Apache-2.0)
interlockby f-secure-foundry
INTERLOCK - file encryption and HSM front-end
interlockby f-secure-foundry
JavaScript 270 Version:v2020.03.05 License: Others (Non-SPDX)
eosjs-eccby EOSIO
Elliptic curve cryptography functions: Private Key, Public Key, Signature, AES, Encryption, Decryption
eosjs-eccby EOSIO
JavaScript 266 Version:v4.0.4 License: No License
CryptoStegoby zeruniverse
JS library for steganography with encryption - Hide text in an image with encryption and obfuscation.
CryptoStegoby zeruniverse
JavaScript 294 Version:v1.8 License: Others (Non-SPDX)
mylarby strikeout
Mylar - Transparent end-to-end encryption for Meteor JS
mylarby strikeout
JavaScript 221 Version:Current License: Others (Non-SPDX)
eccryptoby bitchan
JavaScript Elliptic curve cryptography library
eccryptoby bitchan
JavaScript 207 Version:Current License: Others (Non-SPDX)
Ironsquirrelby MRGEffitas
Encrypted exploit delivery for the masses
Ironsquirrelby MRGEffitas
JavaScript 201 Version:Current License: Strong Copyleft (GPL-3.0)
web-clientby cryptee
Cryptee's web client source code for all platforms.
web-clientby cryptee
JavaScript 373 Version:Current License: Others (Non-SPDX)
comfygureby marmelab
Encrypted and versioned configuration store built with collaboration in mind
comfygureby marmelab
JavaScript 193 Version:v1.2.0 License: Permissive (MIT)
cordova-plugin-crypt-fileby tkyaji
This plugin to encrypt the source files.
cordova-plugin-crypt-fileby tkyaji
JavaScript 176 Version:Current License: Permissive (Apache-2.0)
Open-Cryptochatby triestpa
An end-to-end, RSA-2048 encrypted anonymous chat application.
Open-Cryptochatby triestpa
JavaScript 169 Version:Current License: Permissive (MIT)
sfuby medooze
A future proof, experimental WebRTC VP9 SVC SFU wit end to end encryption support
sfuby medooze
JavaScript 168 Version:0.0.8 License: Permissive (MIT)
xml-cryptoby yaronn
Xml digital signature and encryption library for Node.js
xml-cryptoby yaronn
JavaScript 160 Version:v2.1.2 License: Permissive (MIT)
gitlab-letsencryptby rolodato
Easily generate a Let's Encrypt certificate for GitLab Pages
gitlab-letsencryptby rolodato
JavaScript 149 Version:Current License: Strong Copyleft (GPL-3.0)