Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ghaiklor committed Jul 10, 2015
1 parent c5bd08b commit 6860653
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ module.exports = {

Each of Hash instances has 4 methods:

- hash(data) - Hash your data and returns Promise
- hashSync(data) - Hash your data and returns hash
- compare(plainData, hash) - Compare plainData with hash and returns Promise
- compareSync(plainData, hash) - Compare plainData with hash and returns Boolean
- hash(data, config) - Hash your data and returns Promise. In config you can override pre-defined config.
- hashSync(data, config) - Hash your data and returns hash. In config you can override pre-defined config.
- compare(plainData, hash) - Compare plainData with hash and returns Promise.
- compareSync(plainData, hash) - Compare plainData with hash and returns Boolean.

## Examples

Expand Down

0 comments on commit 6860653

Please sign in to comment.