Skip to content

Commit d751663

Browse files
save file
1 parent c849195 commit d751663

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

blog/26-04-26/x509-certificates-in-js---encrypt-decrypt-data/ex/rsa-encrypt-decrypt-browser.js

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@
2323
console.log('Decrypted:', decrypted);
2424

2525

26-
//:
27-
28-
26+
}();
27+
28+
29+
2930
function extract_spki(cert){
3031
// requires node-forge
3132
var cert = forge.pki.certificateFromPem(cert);
@@ -204,10 +205,8 @@
204205

205206

206207

207-
}();
208-
209-
210-
211-
212-
213-
208+
209+
210+
211+
212+

0 commit comments

Comments
 (0)