Skip to content

Commit db949bf

Browse files
save file
1 parent e335c6d commit db949bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • blog/26-04-26/x509-certificates-in-js---encrypt-decrypt-data/ex

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
var buf = await blob.arrayBuffer();
5252
var encrypted = await crypto.subtle.encrypt({name:'RSA-OAEP'},publicKey,buf);
5353
var uint8 = new Uint8Array(encrypted);
54-
var blob = new Blob([unint8]);
54+
var blob = new Blob([uint8]);
5555
return blob;
5656

5757
}//encrypt

0 commit comments

Comments
 (0)