fix: use header instead of nonce in EncryptionResult
This commit is contained in:
parent
8fe87cc1e0
commit
5769634a50
|
@ -46,7 +46,7 @@ class MultiPartUploader {
|
||||||
collectionKey,
|
collectionKey,
|
||||||
encryptKeyNonce,
|
encryptKeyNonce,
|
||||||
),
|
),
|
||||||
nonce: fileNonce,
|
header: fileNonce,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -111,7 +111,7 @@ class MultiPartUploader {
|
||||||
urls,
|
urls,
|
||||||
encryptedFilePath,
|
encryptedFilePath,
|
||||||
fileSize,
|
fileSize,
|
||||||
CryptoUtil.bin2base64(encryptedResult.key!),
|
CryptoUtil.bin2base64(encryptedResult.encryptedData!),
|
||||||
CryptoUtil.bin2base64(fileNonce),
|
CryptoUtil.bin2base64(fileNonce),
|
||||||
CryptoUtil.bin2base64(encryptedResult.nonce!),
|
CryptoUtil.bin2base64(encryptedResult.nonce!),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue