fixed for id/edge and removed some html
This commit is contained in:
parent
fce615842d
commit
2682f95a2b
|
@ -8,7 +8,6 @@ $(document).ready(function() {
|
|||
gcmCompliant().catch(err => {
|
||||
$('#page-one').hide();
|
||||
$('#compliance-error').show();
|
||||
$('#compliance-error .send-new').hide()
|
||||
})
|
||||
|
||||
// reset copy button
|
||||
|
|
|
@ -46,7 +46,8 @@ function gcmCompliant() {
|
|||
{
|
||||
name: 'AES-GCM',
|
||||
iv: window.crypto.getRandomValues(new Uint8Array(12)),
|
||||
additionalData: window.crypto.getRandomValues(new Uint8Array(6))
|
||||
additionalData: window.crypto.getRandomValues(new Uint8Array(6)),
|
||||
tagLength: 128
|
||||
},
|
||||
key,
|
||||
new ArrayBuffer(8)
|
||||
|
|
|
@ -105,9 +105,6 @@
|
|||
Encryption error<br>
|
||||
Your browser does not support gcm encryption.
|
||||
</div>
|
||||
<div class="send-new">
|
||||
Send another file
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue