added tagLength to make app work in edge
This commit is contained in:
parent
52173bf6e7
commit
2cf2fcebc9
@ -70,7 +70,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
|
||||||
|
Loading…
Reference in New Issue
Block a user