Skip to content

Commit

Permalink
docs: Was fixed code example
Browse files Browse the repository at this point in the history
  • Loading branch information
vMReal committed Sep 15, 2024
1 parent 30e1893 commit b2b877b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ For convenience in creating this hash, you can use the `HA1` helper.
```javascript
import { HA1 } from '@mreal/digest-auth';

const secret = HA1.create('username', 'realm', 'password');
const secret = HA1.generate('username', 'realm', 'password');

console.log(secret); // 4D86DBF27A98B2F451D973A00F567D6B

Expand Down

0 comments on commit b2b877b

Please sign in to comment.