fixed for id/edge and removed some html

This commit is contained in:
Abhinav Adduri 2017-07-10 13:48:00 -07:00
parent fce615842d
commit 2682f95a2b
3 changed files with 2 additions and 5 deletions

View File

@ -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

View File

@ -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)

View File

@ -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>