Preparing Keys

To generate a digital signature, normally a key is required to sign the data. You must prepare the RSA/RSA2 private and public key pair to generate and verify a digital signature. For more information about generating the keys, see Digital signature. After generating keys, you need to exchange keys with Alipay. For more information about exchanging keys, see Key pair generation and validation

Noted:Please be advised MD5 encryption algorithm will no longer be supported for newly onboard merchants.

We strongly recommend new merchants integrate with the RSA2/RSA encryption algorithm, which offer a significantly higher

level of security.