klyn.cryptography.AESCipherText.AESCipherText
constructor
public AESCipherText(mode as String, transformation as String, keySizeBits as Int, ivBase64 as String, ivHex as String, cipherTextBase64 as String, cipherTextHex as String, tagBase64 as String, tagHex as String):
Description

Creates an AES payload object.

Parameters
ParameterDescription
modeAES mode, for example GCM, CBC or CTR.
transformationConcrete cipher transformation.
keySizeBitsAES key size in bits.
ivBase64Initialization vector in Base64.
ivHexInitialization vector in hexadecimal.
cipherTextBase64Ciphertext in Base64.
cipherTextHexCiphertext in hexadecimal.
tagBase64Authentication tag in Base64.
tagHexAuthentication tag in hexadecimal.
Example
import klyn.cryptography

payload = AESCipherText("GCM", "aes-256-gcm", 256, "", "", "", "", "", "")
print(payload.mode)