Service Worker를 활용한 스트리밍 방식 파일 복호화 구현

This commit is contained in:
static committed 2026-01-11 09:06:49 +09:00
1 parent 4b783a36e9
commit 0c295a2ffa
25 files changed
+359 -64

No files matched your search

+3 -2
View File
@@ -1,5 +1,6 @@
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;
export const CHUNK_SIZE = 4 * 1024 * 1024;
export const ENCRYPTED_CHUNK_SIZE = CHUNK_SIZE + ENCRYPTION_OVERHEAD;