mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-24 07:38:26 +00:00
c8281dd4a3
When padding is enabled $des->decrypt() will return false with ciphertext's of invalid length. Which makes sense. Null padding doesn't work when padding is enabled because 0 isn't a valid PKCS7 padding character (has to be between 1 and the block_length, inclusive).