Session_FPEEncrypt
This API decrypts data using FPE.
URL
./ Session_FPEEncrypt
Input Parameters
Parameters | Description |
---|---|
plaintext | Data to be encrypted. |
keyname | Name of the key. |
keyiv | Optional, Hex encoded 56 bytes if plaintext > 56 Numeric value. |
tweakAlgo | Optional, default is none. |
tweakData | If tweak algorithm is "None" or not passed in the API, the value must be HEX encoded 64 bit long string(HEX encoding will consume 16 characters). Tweak data is mandatory if Tweak Algo is given, else it is optional. |
Sample SOAP Parameters
<prot:Session_FPEEncrypt>
<keyname>ghostKey2</keyname>
<!--Optional:-->
<keyiv></keyiv>
<!--Optional:-->
<tweakAlgo>none</tweakAlgo>
<tweakData>1a23456712345678</tweakData>
<plaintext>239494</plaintext>
</prot:Session_FPEEncrypt>
Output
Encrypted data in Hex.
<ns2:Session_FPEEncryptResponse xmlns:ns2="http://dsws.org/protectappws/">393336313538</ns2:Session_FPEEncryptResponse>