mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-02-04 16:16:55 +00:00
파일 업로드 방식을 Chunking 방식으로 변경
This commit is contained in:
5
src/lib/constants/upload.ts
Normal file
5
src/lib/constants/upload.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export const CHUNK_SIZE = 4 * 1024 * 1024;
|
||||
|
||||
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;
|
||||
Reference in New Issue
Block a user