Skip to content

Commit

Permalink
docs: fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
vgbr-dev committed Apr 19, 2023
1 parent cd1660e commit cbc388c
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 @@ -8,7 +8,7 @@ The `CryptoDriver` is a simple and easy-to-use encryption class, manages cipher
- [Importing](#importing)
- [Usage](#usage)
- [API](#api)
- [CryptoDriver(key)](#cryptodriverpassword)
- [CryptoDriver(password)](#cryptodriverpassword)
- [CryptoDriver#encrypt(data)](#cryptodriverencryptdata)
- [CryptoDriver#decrypt(encrypted)](#cryptodriverdecryptencrypted)
- [Security Considerations](#security-considerations)
Expand Down Expand Up @@ -83,8 +83,8 @@ Example
```js
const CryptoDriver = require('crypto-driver');

const key = 'd6F3Efeqd6F3Efeqd6F3Efeqd6F3Efeq';
const crypto = new CryptoDriver(key);
const password = 'this is secret';
const crypto = new CryptoDriver(password);
```

### `CryptoDriver#encrypt(data)`
Expand Down

0 comments on commit cbc388c

Please sign in to comment.