Digital Signature
MoMo uses digital signature and data encryption to verify input and output data for each HTTP Request/HTTP Response.
Signature
is a string generated by a given algorithm, used to check the correctness of data on transmission lines between two systems. Some of the algorithms in use are MD5, SHA1, SHA256 and Hmac.
In this document, MoMo uses HMAC_SHA256 algorithm to generate signature
.
Input data includes Secret Key and data
, data
generated with format: key1=value1&key2=value2...
key1: field name, value1 = value of key1.
About key-value pair, view more details in each description of HTTP Request/HTTP Response