This extension provides method to encrypt text using HMAC-SHA256 for payment providers.
Action Name:
GetEncryptedValue
Description:
Method to encrypt plain text using key to HMAC-SHA256 value. Key that will be used for encryption can be either Hexadecimal or Plain text and based on type of key encryption used will be different (HexNumber or ASCII encoding).
Parameters:
Parameter Name
Parameter Type
Data Type
Mandatory
Default Value
Description
PlainText
Input
Text
Yes
Plain text to be encrypted
Key
Key provided for encryption
IsHexKey
Boolean
No
True
Boolean value to indicate if provided Key is in hexadecimal format or plain text. Default value is True
EncryptedValue
Output
Encrypted value