title: php mcrypt_decrypt doesn't consider null chars in data
body: <p>php <code>mcrypt_decrypt</code> doesn't consider <strong>null</strong> chars in input (cipher) data. (obviously it ends on the first concurrence of a null char). How to decrypt data with null chars in it? I don't want to use <code>base64 encoding</code> and it will not work anyway since encryption will output null chars.</p>
  
  <p>[Edit]
  The return type is also string, so output with null chars is truncated. What is the way around this? Or is there any other encryption library I should use which operates on buffers rather than strings?</p>