Skip to main content

Encrypt

Encryption Step by step

  1. Generate a random key for payload encryption with 32 characters.
  2. Encrypt the payload with said key.
  3. Encrypt key that has been used for step no.2, with RSA using the public key.
  4. Send encrypted payload as request body.
  5. Send encrypted key from step no.3 via Key header.

Examples

For other programming language examples, please refer to this: https://github.com/tokopedia/cryptography-example/tree/main/encryption

Have a feedback?