3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = 1; $block = mcrypt_get_block_size('des', 'ecb'); $pad = $block - (strlen($str) % $block); $str .= str_repeat(chr($pad), $pad); echo rawurlencode(mcrypt_encrypt(MCRYPT_DES, 'd9daa', $str, MCRYPT_MODE_ECB));
based on unWpa