public static fromMap(value as Map<String, Object>) as AESCipherText:
Rebuilds an AES payload from a serialized map.
Structured AES payload. klyn import klyn.cryptography key = AESKeyGenerator().generateKey() encrypted = Cipher.aesEncrypt("demo", key) copy = AESCipherText.fromMap(encrypted.toMap()) print(copy.cipherTextBase64)