removed unwanted property from encryption result

This commit is contained in:
Abhinav-grd 2021-02-16 15:15:02 +05:30
parent de35099109
commit 0570be055e

View file

@ -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,
}, },
}; };
} }