added tagLength to fileReceiver

This commit is contained in:
Abhinav Adduri 2017-07-24 12:16:01 -07:00
parent 193d3b1aef
commit fa1f0208a4

View File

@ -67,7 +67,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