3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $message = "12345678901234560"; $key = "123456789012345678901234"; $iv = "12345678"; $cipher = mcrypt_encrypt(MCRYPT_BLOWFISH, $key, $message, MCRYPT_MODE_CBC, $iv); echo bin2hex($cipher) . "\n"; var_dump( openssl_decrypt( bin2hex($cipher), 'blowfish', $key, OPENSSL_RAW_DATA, $iv ), openssl_error_string() );
Output for hhvm-3.17.3
6cea759f026ec411420f1e48566a8dc54be0c6f5f3d68113 bool(false) string(72) "error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt"