Skip to content
forked from brix/crypto-js

JavaScript library of crypto standards.

License

Notifications You must be signed in to change notification settings

leetia316/crypto-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crypto-js

Modularized port of googlecode project crypto-js.

Node.js (Install)

Requirements:

  • Node.js
  • npm (Node.js package manager)
npm install crypto-js

Usage

Modular include:

var AES = require("crypto-js/aes");
var SHA256 = require("crypto-js/sha256");
...
console.log(SHA256("Message"));

Including all libraries, for access to extra methods:

var CryptoJS = require("crypto-js");
console.log(CryptoJS.HmacSHA1("Message", "Key"));

Client (browser)

Usage

Modular include:

require(["crypto-js/aes", "crypto-js/sha256"], function (AES, SHA256) {
    console.log(SHA256("Message"));
});

Including all libraries, for access to extra methods:

require("crypto-js", function (CryptoJS) {
    console.log(CryptoJS.HmacSHA1("Message", "Key"));
});

API

See: https://code.google.com/p/crypto-js

About

JavaScript library of crypto standards.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 95.0%
  • HTML 5.0%