File tree Expand file tree Collapse file tree
blog/26-04-26/x509-certificates-in-js---encrypt-decrypt-data/ex Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ aes encrypt / decrypt browser
2020
2121 var key = await generateAesKey ( ) ;
2222 var encrypted = await aesEncrypt ( key , blob ) ;
23- var b64 = blob_b64 ( encrypted ) ;
23+ var b64 = await blob_b64 ( encrypted ) ;
2424 console . log ( 'encrypted :' ) ;
2525 console . log ( b64 ) ;
2626 console . log ( ) ;
@@ -109,7 +109,7 @@ aes encrypt / decrypt browser
109109 //:
110110
111111
112- function iv_buf_blob ( iv , buf ) {
112+ function iv_buf_blob ( iv , buf ) { debugger ;
113113
114114 var n1 = iv . length ;
115115 var n = n1 + buf . length ;
@@ -122,7 +122,7 @@ aes encrypt / decrypt browser
122122 } //iv_buf
123123
124124
125- async function blob_iv_buf ( blob , iv_bits = 96 ) {
125+ async function blob_iv_buf ( blob , iv_bits = 96 ) { debugger ;
126126
127127 var n = blob . size ;
128128 var buf = await blob . arrayBuffer ( ) ;
You can’t perform that action at this time.
0 commit comments