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