UNPKG

fast-envcrypt

Version:

Secure AES-256 .env file encryption CLI tool with argon2/scrypt support

25 lines 822 B
interface EncryptedData { algorithm: string; keyDerivation: string; salt: string; iv: string; data: string; timestamp: number; authTag?: string; version?: string; } export declare function decryptFile(inputPath: string, outputPath: string, password: string | null, force?: boolean): Promise<void>; /** * Additional utility function for verification */ export declare function verifyDecryption(inputPath: string, password: string): Promise<boolean>; /** * Get encrypted file information without decrypting */ export declare function getEncryptedFileInfo(filePath: string): Promise<Partial<EncryptedData>>; /** * Check if file is a valid encrypted file */ export declare function isValidEncryptedFile(filePath: string): Promise<boolean>; export {}; //# sourceMappingURL=decrypt.d.ts.map