Skip to content

Commit e151f71

Browse files
save file
1 parent 81865d9 commit e151f71

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ TypedArray.prototype.slice() : https://developer.mozilla.org/en-US/docs/Web
5151

5252

5353

54+
55+
})();
56+
57+
58+
5459
async function generateAesKey(length=256){
5560

5661
var algorithm = {name:'AES-GCM',length};
@@ -233,8 +238,4 @@ TypedArray.prototype.slice() : https://developer.mozilla.org/en-US/docs/Web
233238

234239

235240

236-
237-
})();
238-
239-
240-
241+

0 commit comments

Comments
 (0)