removed unwanted property from encryption result
This commit is contained in:
parent
de35099109
commit
0570be055e
|
@ -77,8 +77,6 @@ export async function encryptChaChaOneShot(data: Uint8Array, key?: string) {
|
||||||
file: {
|
file: {
|
||||||
encryptedData: pushResult,
|
encryptedData: pushResult,
|
||||||
decryptionHeader: await toB64(header),
|
decryptionHeader: await toB64(header),
|
||||||
creationTime: Date.now(),
|
|
||||||
fileType: 0,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -123,8 +121,6 @@ export async function encryptChaCha(data: Uint8Array, key?: string) {
|
||||||
file: {
|
file: {
|
||||||
encryptedData: new Uint8Array(encryptedData),
|
encryptedData: new Uint8Array(encryptedData),
|
||||||
decryptionHeader: await toB64(header),
|
decryptionHeader: await toB64(header),
|
||||||
creationTime: Date.now(),
|
|
||||||
fileType: 0,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue