YangYuGang
2025-03-05 6cc2d85787171281c269f4a6c3290b4a0762bcb6
1
2
3
4
5
6
7
8
9
10
11
12
13
import { isDevMode } from '@/utils/env';
 
// System default cache time, in seconds
export const DEFAULT_CACHE_TIME = 60 * 60 * 24 * 7;
 
// aes encryption key
export const cacheCipher = {
  key: '_11111000001111@',
  iv: '@11111000001111_',
};
 
// Whether the system cache is encrypted using aes
export const SHOULD_ENABLE_STORAGE_ENCRYPTION = !isDevMode();