Skip to content

Commit

Permalink
Merge commit 'b15bda4f35c679d8046939344b2e64e7d7c1f1e0' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
evanvosberg committed Nov 22, 2013
2 parents 593c315 + b15bda4 commit 3bf6e2d
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,20 @@ Requirements:
npm install crypto-js
```

### USE
### Usage

Modular include:
```javascript
var AES = require("crypto-js/aes");
var SHA256 = require("crypto-js/sha256");
...
console.log(SHA256("Message"));
```

Including all libraries, for access to extra methods:
```javascript
var CryptoJS = require("crypto-js");
console.log(CryptoJS.HmacSHA1("Message", "Key"));
```

## Client (browser)
Expand All @@ -31,4 +40,4 @@ require(["crypto-js/aes", "crypto-js/sha256"], function (AES, SHA256) {

## API

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

0 comments on commit 3bf6e2d

Please sign in to comment.