mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-02-04 16:16:55 +00:00
7 lines
265 B
TypeScript
7 lines
265 B
TypeScript
export const AES_GCM_IV_SIZE = 12;
|
|
export const AES_GCM_TAG_SIZE = 16;
|
|
export const ENCRYPTION_OVERHEAD = AES_GCM_IV_SIZE + AES_GCM_TAG_SIZE;
|
|
|
|
export const CHUNK_SIZE = 4 * 1024 * 1024; // 4 MiB
|
|
export const ENCRYPTED_CHUNK_SIZE = CHUNK_SIZE + ENCRYPTION_OVERHEAD;
|