archwisp/PHPEncryptData

Add length check for key and IV size

Closed this issue · 1 comments

Since we're not using a KDF, the encrypt function should throw an exception if the keys or IV are shorter than the key & block size of the block cipher.

This is now complete