Skip to content

Commit f762737

Browse files
author
BAM5
committed
Fixed error in example
1 parent 1538663 commit f762737

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
@@ -120,7 +120,7 @@ Return max data size for encrypt in bytes.
120120
PKCS1 is still available with the following configuring*
121121

122122
```javascript
123-
key.schemeEncryption = new NodeRSA.RSA.PKCS1.Default;
123+
key.schemeEncryption = NodeRSA.RSA.PKCS1.Default;
124124
```
125125

126126
```javascript
@@ -144,7 +144,7 @@ Return decrypted data.<br/>
144144
PKCS1 is still available with the following configuring*
145145

146146
```javascript
147-
key.schemeSignature = new NodeRSA.RSA.PKCS1.Default;
147+
key.schemeSignature = NodeRSA.RSA.PKCS1.Default;
148148
```
149149

150150
```javascript

0 commit comments

Comments
 (0)