Skip to content

Commit 9e52aad

Browse files
committed
readme
1 parent 507be4a commit 9e52aad

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
@@ -62,7 +62,7 @@ You can specify some options by second/third constructor argument, or over `key.
6262

6363
**Advanced options:**<br/>
6464
You also can specify advanced options for some schemes like this:
65-
```
65+
```javascript
6666
options = {
6767
encryptionScheme: {
6868
scheme: 'pkcs1_oaep', //scheme
@@ -146,7 +146,7 @@ Output type — can be:
146146

147147
**Code example**
148148

149-
```
149+
```javascript
150150
var keyData = '-----BEGIN PUBLIC KEY-----' + .... + '-----BEGIN PRIVATE KEY-----';
151151
key.importKey(keyData, 'pkcs8');
152152
var publicDer = key.exportKey('pkcs8-public-der');

0 commit comments

Comments
 (0)