Key is now hashed with SHA256 before being used in AES.