export interface KeyAttributes { kekSalt: string; encryptedKey: string; keyDecryptionNonce: string; opsLimit: number; memLimit: number; publicKey: string; encryptedSecretKey: string; secretKeyDecryptionNonce: string; } export const ENCRYPTION_CHUNK_SIZE = 4 * 1024 * 1024;