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 => {
|
gcmCompliant().catch(err => {
|
||||||
$('#page-one').hide();
|
$('#page-one').hide();
|
||||||
$('#compliance-error').show();
|
$('#compliance-error').show();
|
||||||
$('#compliance-error .send-new').hide()
|
|
||||||
})
|
})
|
||||||
|
|
||||||
// reset copy button
|
// reset copy button
|
||||||
|
@ -46,7 +46,8 @@ function gcmCompliant() {
|
|||||||
{
|
{
|
||||||
name: 'AES-GCM',
|
name: 'AES-GCM',
|
||||||
iv: window.crypto.getRandomValues(new Uint8Array(12)),
|
iv: window.crypto.getRandomValues(new Uint8Array(12)),
|
||||||
additionalData: window.crypto.getRandomValues(new Uint8Array(6))
|
additionalData: window.crypto.getRandomValues(new Uint8Array(6)),
|
||||||
|
tagLength: 128
|
||||||
},
|
},
|
||||||
key,
|
key,
|
||||||
new ArrayBuffer(8)
|
new ArrayBuffer(8)
|
||||||
|
@ -105,9 +105,6 @@
|
|||||||
Encryption error<br>
|
Encryption error<br>
|
||||||
Your browser does not support gcm encryption.
|
Your browser does not support gcm encryption.
|
||||||
</div>
|
</div>
|
||||||
<div class="send-new">
|
|
||||||
Send another file
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user