Add checks for invalid/valid key lengths for AES