Skip to content

Commit

Permalink
fix: update readme text
Browse files Browse the repository at this point in the history
  • Loading branch information
kellyjandrews committed Feb 14, 2017
1 parent c9f968b commit 7790c02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ ASP Password for Node
### Password Hashing

```javascript
import password from '../asp-pw.js';
import password from 'asp-pw';

const hashedPassword = password.hash('MySecurePassword');
console.log(hashedPassword); // Prints "Base64 encoded string"
console.log(hashedPassword); // Prints Base64 encoded string
```

### Password Validation

```javascript
import password from '../asp-pw.js';
import password from 'asp-pw';

// Get the original hash from your data provider.
const hashedPassword = '...';
Expand Down

0 comments on commit 7790c02

Please sign in to comment.