Use when working with Encryption/Compression/Zip tools — AES encryption, data compression, and ZIP archive management in F8Framework.
OptimizedAES — AES-256 encryption/decryption// Example: Create encryptor
var aes = new Util.OptimizedAES(key: "AES_Key", iv: null);
byte[] encrypted = aes.Encrypt(plainBytes);
byte[] decrypted = aes.Decrypt(encrypted);
OptimizedAES instance with key.| Error | Cause | Solution |
|---|---|---|
| Decryption fails | Key mismatch | Ensure same key across encrypt/decrypt |
| ZIP extraction fails | Corrupt archive | Verify ZIP integrity before extraction |
| Compression ratio poor | Already compressed data | Check if data is already compressed |