schmittjoh/JMSPaymentCoreBundle — pull request #124 by sveriger (2013-09-26 11:55:08+00:00)
Title: 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.