Skip to content

Commit 33d3ad5

Browse files
committed
update readme
1 parent 3da3039 commit 33d3ad5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ Return decrypted data.<br/>
185185
* buffer — `{buffer}` — data for decrypting. Takes Buffer object or base64 encoded string.<br/>
186186
* encoding — `{string}` — encoding for result string. Can also take `'buffer'` for raw Buffer object, or `'json'` for automatic JSON.parse result. Default `'buffer'`.
187187

188-
> *Notice:* usage `encryptPrivate` and `decryptPublic` with `pkcs1_oaep` padding not described in the RSA [specification](http://www.emc.com/collateral/white-papers/h11300-pkcs-1v2-2-rsa-cryptography-standard-wp.pdf)
188+
> *Notice:*`encryptPrivate` and `decryptPublic` using only pkcs1 padding type 1 (not random)
189189
190190
### Signing/Verifying
191191
```javascript

0 commit comments

Comments
 (0)