Check for valid key size (of the default cipher MCRYPT_RIJNDAEL_256: 16, 24, 32).

Fixes #33.