Trim the AES key to size (256 bits(