You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**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'*.
96
96
97
97
### Signing/Verifying
98
98
```js
99
99
key.sign(buffer, [encoding], [source_encoding]);
100
100
```
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.
0 commit comments