Bugfix mcrypt rtrim null bytes on decryption

If you have longer strings to encrypt and later decrypt, the null-bytes from encryption are left in string and causes problemes while decryption.

See php docs http://www.php.net/manual/en/function.mcrypt-generic.php for details:
... use rtrim($str, "\0") to remove the padding.