Session_GCMEncrypt
This API encrypts data Using GCM standards.
URL
./Session_GCMEncrypt
Input Parameters
| Parameters | Description | 
|---|---|
| keyname | Name of the key to be used for encryption. | 
| plaintext | ASCII text to be encrypted, or hex if binary encryption is desired. | 
| iv | Specify 1 to 16 bytes IV in Hex format. For example 697473617265616c6c79636f6f6c6976.. | 
| aad | Optional/blank, the data to be passed to the recipient in plain text, needs to be “authenticated”. | 
| authtaglength | The tag length to ensure the data is not accidentally altered, must be 32 to 128 bits and multiple of 8. | 
Sample SOAP Parameters
    <prot:Session_GCMEncrypt>
    <keyname>AES</keyname>
    <authtaglength></authtaglength>
    <iv></iv>
    <!--Optional:-->
    <aad></aad>
    <plaintext>1234567</plaintext>
</prot:Session_GCMEncrypt>
Output
Encrypted data in Hex format.