public static aesDecrypt(payload as AESCipherText, key as String, keyEncoding as String = "base64", aad as String = null) as String throws CryptoException:
import klyn.cryptography
key = AESKeyGenerator().generateKey()
payload = Cipher.aesEncrypt("hello", key)
print(Cipher.aesDecrypt(payload, key))