> ## Documentation Index
> Fetch the complete documentation index at: https://doc.haipay.net/llms.txt
> Use this file to discover all available pages before exploring further.

# RSA Key Generation

Keys are generated in JavaScript in your browser; no data is sent to any server. Keep your private key secure and enter the public key in the HaiPay merchant portal.

**Private Key (keep secure)**

**Public Key (can be shared)**

Generate Keys

## Related topics

* [HaiPay Configuration and Signature Guide](https://doc.haipay.net/docs/en/V20260623/guide/config_settings_and_signature_rules_guide.md)
* [HaiPay Integration Environment and Request URLs](https://doc.haipay.net/docs/en/V20260623/guide/api_parameters_doc)
* [HaiPay Integration Steps Guide](https://doc.haipay.net/docs/en/V20260623/guide/integration_guide.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.