10 Best JavaScript Cryptography Libraries

List hand-picked by Openbase Experts
Learn More

node-forge

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

License Icon
License: (BSD-3-Clause OR GPL-2.0)
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
2
Top Feedback
1Performant
GitHub Stars
4K
Weekly Downloads
17M
Last Commit
3mos ago

crypto-js

JavaScript library of crypto standards.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.8/ 5
19
Top Feedback
6Great Documentation
6Easy to Use
1Performant
GitHub Stars
12K
Weekly Downloads
4M
Last Commit
4mos ago
ell

elliptic

Fast Elliptic Curve Cryptography in plain javascript

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
1K
Weekly Downloads
13M
Last Commit
1yr ago
jsr

jsrsasign

The 'jsrsasign' (RSA-Sign JavaScript Library) is an opensource free cryptography library supporting RSA/RSAPSS/ECDSA/DSA signing/validation, ASN.1, PKCS#1/5/8 private/public key, X.509 certificate, CRL, OCSP, CMS SignedData, TimeStamp, CAdES JSON Web Signature/Token in pure JavaScript.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.3/ 5
3
Top Feedback
1Great Documentation
1Hard to Use
GitHub Stars
3K
Weekly Downloads
200K
Last Commit
2mos ago

crypto-browserify

partial implementation of node's `crypto` for the browser

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
524
Weekly Downloads
12M
Last Commit
4yrs ago
scj

simple-crypto-js

Simplified AES cryptography for safer and easier encryption and decryption processes of any JavaScript objects.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
75
Weekly Downloads
9K
Last Commit
2mos ago

jwk-to-pem

Convert a json web key to a PEM for use by OpenSSL or crytpo

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
128
Weekly Downloads
406K
Last Commit
10mos ago

eccrypto

JavaScript Elliptic curve cryptography library

License Icon
License: CC0-1.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
224
Weekly Downloads
11K
Last Commit
10mos ago
jsh

jshashes

Fast and dependency-free cryptographic hashing library for node.js and browsers (supports MD5, SHA1, SHA256, SHA512, RIPEMD, HMAC)

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
1Great Documentation
1Easy to Use
1Performant
GitHub Stars
662
Weekly Downloads
23K
Last Commit
7mos ago
rnc

react-native-crypto

THIS REPOSITORY HAS MOVED. ITS NEW LOCATION IS HERE: https://github.com/tradle/react-native-crypto

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
17
Weekly Downloads
14K
Last Commit
4yrs ago
cry

cryptojs

Following googlecode project crypto-js, provide standard and secure cryptographic algorithms for NodeJS. Support MD5, SHA-1, SHA-256, RC4, Rabbit, AES, DES, PBKDF2, HMAC, OFB, CFB, CTR, CBC, Base64

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
310
Weekly Downloads
4K
Last Commit
10yrs ago
cry

cryptex

Secure secret storage and cryptographic key retrieval for Node.js

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
139
Weekly Downloads
710
Last Commit
2yrs ago

bitauth

Authenticate with web services utilizing the same strategy as Bitcoin.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
473
Weekly Downloads
155
Last Commit
10mos ago
ss

suspicious-session

A session manager middleware for express.js with AES encription.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
1
Weekly Downloads
9
Last Commit
6mos ago
exc

excryptor

Excryptor is a Cryptography Library for ExpressJS

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
1
Weekly Downloads
2
Last Commit
3yrs ago

eosjs-crypt

Elliptic curve cryptography functions: Private Key, Public Key, Signature, AES, Encryption, Decryption

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
265
Weekly Downloads
1
Last Commit
2yrs ago