1, 'alg' => 'AES-256-GCM', 'kdf' => 'PBKDF2-SHA256', 'iterations' => $iterations, 'salt' => base64_encode($salt), 'iv' => base64_encode($iv), 'tag' => base64_encode($tag), 'data' => base64_encode($encrypted) ]; $json = json_encode( $payload, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE ); if ($json === false) { throw new RuntimeException('Payload creation failed.'); } $result = base64_encode($json); } catch (Throwable $e) { $error = 'Encryption could not be completed.'; } } } ?> AES Encryption — iSocialize Tools
🔐 Cyber Security

AES Encryption

Encrypt text using AES-256-GCM with PBKDF2-SHA256. A fresh salt and IV are generated for every encryption.



Encrypted output
AES-256-GCM

Uses AES-256-GCM authenticated encryption with PBKDF2-SHA256 key derivation. Keep your password safe. The encrypted output and password are required for decryption.

🏢
Want this tool on your website?
White label — all 130+ tools, your brand, your domain. ₹15,000 once. No monthly fee. We set it up in one week.
Get white label → WhatsApp →