Implemented AES Crypto API