Signing the request
After the pre-sign string is generated:
- Append the MD5 secret key to the pre-sign string to generate a new string.
- Calculate the new string with the MD5 signature algorithm (by using the MD5 signature function).
The result 32-byte string is the signature, which is used as the value of the
After the pre-sign string is generated, perform the following steps to generate the signature:
- Use the RSA/DSA algorithm and the merchant private key to generate the signature.
- Encode the signature to a string.
Then, use the string as the value of the