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', name: 'AES-GCM',
iv: hexToArray(fdata.iv), iv: hexToArray(fdata.iv),
additionalData: hexToArray(fdata.aad) additionalData: hexToArray(fdata.aad),
tagLength: 128
}, },
key, key,
fdata.data fdata.data