Skip to content

Commit c849195

Browse files
save file
1 parent ca077ac commit c849195

1 file changed

Lines changed: 11 additions & 8 deletions

File tree

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

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11

22

3+
4+
35
!async function(){
46
console.clear();
57

@@ -24,9 +26,11 @@
2426
console.log('Decrypted:', decrypted);
2527

2628

27-
//:
28-
29-
29+
}();
30+
31+
32+
33+
3034
function extract_spki(certPem){
3135

3236
certPem = normalisePem(certPem);
@@ -223,8 +227,7 @@
223227

224228

225229

226-
}();
227-
228-
229-
230-
230+
231+
232+
233+

0 commit comments

Comments
 (0)