export interface EncryptionOptions { algorithm?: string; keySize?: number; iterations?: number; } export interface EncryptionResult { encrypted: string; salt?: string; iv?: string; } export interface DecryptionOptions { algorithm?: string; keySize?: number; iterations?: number; } export interface CryptoConfig { secretKey?: string; defaultOptions?: EncryptionOptions; } export interface KeyPairResult { publicKey: string; privateKey: string; } export type SupportedAlgorithm = 'AES' | 'TripleDES' | 'RC4';