import { IEncryptionStrategy, EncryptionResult, DecryptionParams } from '../encryption-strategy.interface'; /** * RSA-OAEP Encryption Strategy * * Asymmetric encryption for small data * - Public key encryption * - Suitable for encrypting symmetric keys * - NOT suitable for large files (use hybrid encryption instead) * - Built into Web Crypto API * * NOTE: For file encryption, this should be used in hybrid mode: * 1. Generate random AES key * 2. Encrypt file with AES key * 3. Encrypt AES key with RSA public key */ export declare class RsaOaepStrategy implements IEncryptionStrategy { readonly algorithmName = "RSA-OAEP"; readonly isSupported = true; readonly requiresExternalLibrary = false; private readonly MAX_ENCRYPT_SIZE; getIvSize(): number; getSaltSize(): number; encrypt(data: ArrayBuffer, password: string, salt: string, iv: string): Promise; decrypt(params: DecryptionParams): Promise; } //# sourceMappingURL=rsa-oaep-strategy.d.ts.map