added tagLength to make app work in edge

This commit is contained in:
Abhinav Adduri 2017-07-14 10:51:57 -07:00
parent 52173bf6e7
commit 2cf2fcebc9

View File

@ -70,7 +70,8 @@ class FileReceiver extends EventEmitter {
{
name: 'AES-GCM',
iv: hexToArray(fdata.iv),
additionalData: hexToArray(fdata.aad)
additionalData: hexToArray(fdata.aad),
tagLength: 128
},
key,
fdata.data