Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JavaScript crypto libraries? [closed]

What are some of the secure/reliable crypto libraries for JavaScript? For those who have used it, what are your opinion about them? Thanks.

like image 802
weilin8 Avatar asked Nov 30 '12 22:11

weilin8


People also ask

Is crypto built into Nodejs?

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.

Does crypto-JS support RSA?

No. CryptoJS is a JavaScript library for symmetric, but not asymmetric encryption, i.e. it does not support RSA.

What is CryptoJS?

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.

What is a JavaScript cryptography library?

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.

What is the best crypto library for ActionScript?

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.

What is the web crypto interface?

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.

What is the crypto module in Node JS?

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.


1 Answers

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/

like image 150
lostsource Avatar answered Sep 27 '22 18:09

lostsource