1. <?php
  2.   $ciphertext = base64_decode("zA/eeF+WFVMDsZ7+iA==");
  3.   $iv = substr($ciphertext, 0, 8);
  4.   $text = substr($ciphertext, 8, strlen($ciphertext) - 8);
  5.  
  6.   $td = mcrypt_module_open("rijndael-256", "", "cbc", $iv);
  7.   mcrypt_generic_init($td, "PasswordPassword", $iv);
  8.   $plaintext = mdecrypt_generic($td, $text);
  9.   echo $plaintext;
  10.   mcrypt_generic_deinit($td);
  11.   mcrypt_module_close($td);
  12. ?>