Skip to content

Commit 4cb31d9

Browse files
committed
Merge remote-tracking branch 'origin/dev' into dev
2 parents c816fac + a809ab6 commit 4cb31d9

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ You can specify some options by second/third constructor argument, or over `key.
6363
* encryptionScheme — padding scheme for encrypt/decrypt. Can be `'pkcs1_oaep'` or `'pkcs1'`. Default `'pkcs1_oaep'`.
6464
* signingScheme — scheme used for signing and verifying. Can be `'pkcs1'` or `'pss'` or 'scheme-hash' format string (eg `'pss-sha1'`). Default `'pkcs1-sha256'`, or, if chosen pss: `'pss-sha1'`.
6565

66-
This lib supporting next hash algorithms: `'md5'`, `'ripemd160'`, `'sha1'`, `'sha256'`, `'sha512'` in browser and node environment and additional `'md4'`, `'sha'`, `'sha224'`, `'sha384'` in node only.
66+
> *Notice:* This lib supporting next hash algorithms: `'md5'`, `'ripemd160'`, `'sha1'`, `'sha256'`, `'sha512'` in browser and node environment and additional `'md4'`, `'sha'`, `'sha224'`, `'sha384'` in node only.
6767
6868
<sub>Some [advanced options info](https://github.com/rzcoder/node-rsa/wiki/Advanced-options)</sub>
6969

@@ -123,7 +123,7 @@ Output type — can be:
123123
* `'pem'` — Base64 encoded string with header and footer. Used by default.
124124
* `'der'` — Binary encoded key data.
125125

126-
**Notice:** For import, if *keyData* is PEM string or buffer containing string, you can do not specify format, but if you provide *keyData* as DER you must specify it in format string.
126+
> *Notice:* For import, if *keyData* is PEM string or buffer containing string, you can do not specify format, but if you provide *keyData* as DER you must specify it in format string.
127127
128128
**Shortcuts and examples**
129129
* `'private'` or `'pkcs1'` or `'pkcs1-private'` == `'pkcs1-private-pem'` — private key encoded in pcks1 scheme as pem string.
@@ -211,9 +211,10 @@ Questions, comments, bug reports, and pull requests are all welcome.
211211

212212
### 0.2.20
213213
* Added `.encryptPrivate()` and `.decryptPublic()` methods
214-
* Encrypt/decrypt methods in nodejs 0.12.x and io.js using native implementation (40x speed boost)
215-
* **KNOWN ISSUES**:
216-
* `encryptPrivate` and `decryptPublic` don't have native implementation in nodejs and can't be use in native implementation with pkcs1_oaep padding in io.js
214+
* Encrypt/decrypt methods in nodejs 0.12.x and io.js using native implementation (> 40x speed boost)
215+
216+
**KNOWN ISSUES**:
217+
* `encryptPrivate` and `decryptPublic` don't have native implementation in nodejs and can't be use in native implementation with pkcs1_oaep padding in io.js
217218

218219
### 0.2.10
219220
* **Methods `.exportPrivate()` and `.exportPublic()` was replaced by `.exportKey([format])`.**

0 commit comments

Comments
 (0)