Skip to content

Commit 6c6b8cc

Browse files
committed
updated readme
1 parent 48d6970 commit 6c6b8cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@ key.decrypt(buffer, [encoding]);
9292
```
9393
Return decrypted data.<br/>
9494
**buffer** - data for decrypting. Takes Buffer object or base64 encoded string.<br/>
95-
**encoding** - encoding for result string. Can also take 'buffer' for raw Buffer object, or 'json' for automatic JSON.parse result. Default *'buffer*.
95+
**encoding** - encoding for result string. Can also take 'buffer' for raw Buffer object, or 'json' for automatic JSON.parse result. Default *'buffer'*.
9696

9797
### Signing/Verifying
9898
```js
9999
key.sign(buffer, [encoding], [source_encoding]);
100100
```
101-
Return signature for data. All the arguments are the same as for `encrypt` method.
101+
Return signature for buffer. All the arguments are the same as for `encrypt` method.
102102

103103
```js
104104
key.verify(buffer, signature, [source_encoding], [signature_encoding])

0 commit comments

Comments
 (0)