What are some of the secure/reliable crypto libraries for JavaScript? For those who have used it, what are your opinion about them? Thanks.
Crypto is a module in Node. js which deals with an algorithm that performs data encryption and decryption. This is used for security purpose like user authentication where storing the password in Database in the encrypted form. Crypto module provides set of classes like hash, HMAC, cipher, decipher, sign, and verify.
No. CryptoJS is a JavaScript library for symmetric, but not asymmetric encryption, i.e. it does not support RSA.
CryptoJS is a growing collection of standard and secure cryptographic algorithms implemented in JavaScript using best practices and patterns. They are fast, and they have a consistent and simple interface.
A JavaScript Cryptography Library. This library is an object oriented cryptography library that implements several fundamental cryptographic algorithms including AES, SHA-1, HMAC, BASE64, RSA, ECC and IBE for JavaScript.
This library works in ActionScript as well. Cifre is a fast crypto toolkit for modern client-side JavaScript. This is done by taking the best crypto code for js on the net and updating it to use modern technologies. There are plans to collaborate with the forge project.
The Crypto interface represents basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives. The Web Crypto API is accessed through the global crypto property, which is a Crypto object.
The crypto module provides cryptographic functionality that includes a set of wrappers for OpenSSL's hash, HMAC, cipher, decipher, sign, and verify functions. It is possible for Node.js to be built without including support for the crypto module.
Google Closure
Used Google's closure library quite successfully for a while
https://developers.google.com/closure/library/
Specific crypt
documentation here
http://closure-library.googlecode.com/svn/docs/namespace_goog_crypt.html
phpjs.org
Occasionally for simpler tasks I have also used self-contained functions such as md5 or sha1 from phpjs.org
crypto-js
Although never used personally, I heard very good things about this library
http://code.google.com/p/crypto-js/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With