3v4l.org

run code in 300+ PHP versions simultaneously
<?php include('Crypt/AES.php'); $cipher = new Crypt_AES(); // it's cbc by default $cipher->setKeyLength(256); $cipher->setKey('abcdefghijklmnopijklmnopqrstuvwxyz3456'); $size = 10 * 1024; $plaintext = str_repeat('a', $size); echo $cipher->decrypt($cipher->encrypt($plaintext)); ?>

preferences:
27.05 ms | 402 KiB | 5 Q