mcrypt_compat icon indicating copy to clipboard operation
mcrypt_compat copied to clipboard

RC2 max key size incompatibility

Open umitakkaya opened this issue 7 years ago • 0 comments

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.

umitakkaya avatar Feb 14 '19 09:02 umitakkaya