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