Session_FPEDecrypt
This API decrypts data using FPE.
URL
./ Session_ FPEDecrypt
Input Parameters
Parameters | Description |
---|---|
ciphertext | Encrypted data. |
keyname | Name of the key to be used for decryption. |
keyiv | Hex encoded 56 bytes if plaintext > 56 Numeric value (optional). |
tweakAlgo | Default is none (optional). |
tweakData | If tweak algorithm is "None" or not passed in the API, the value of tweak 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. |
Note
The Session_FPEDecrypt
API only works with the FPE/AES/CARD10 algorithm.
Sample SOAP Parameters
<prot:Session_FPEDecrypt>
<keyname>ghostKey2</keyname>
<!--Optional:-->
<keyiv></keyiv>
<!--Optional:-->
<tweakAlgo>none</tweakAlgo>
<tweakData>1a23456712345678</tweakData>
<ciphertext>393336313538</ciphertext>
</prot:Session_FPEDecrypt>
Output
Plaintext data.
<ns2:Session_FPEDecryptResponse xmlns:ns2="http://dsws.org/protectappws/">239494</ns2:Session_FPEDecryptResponse>