mcrypt_compat
mcrypt_compat copied to clipboard
RC2 max key size incompatibility
There is a compatibility issue with the maximum key size of RC2 cipher.
mcrypt says key size must be between 1 and 128 but in the polyfill it's 56, also if key size is out of bounds, it's being truncated silently.