Skip to content

Commit

Permalink
Hash: Add installation instructions
Browse files Browse the repository at this point in the history
Signed-off-by: Fadion Dashi <jonidashi@gmail.com>
  • Loading branch information
fadion committed Mar 20, 2018
1 parent ec5ae3c commit 71915f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/hash/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ Generates and compares hashes using [bcrypt](https://github.com/kelektiv/node.bc

## Usage

```
$ npm install --save @sapphirejs/hash
```

The main `Hash` class takes an algorithm as a parameter, either `Algorithm.Bcrypt` or `Algorithm.Argon2`.

To generate a hash:
Expand Down

0 comments on commit 71915f4

Please sign in to comment.