Option 1: Using the SDK
1
Set up the SDK
Make sure you have set up the SDK.
2
Generate the key pair
Call the
generatePublicPrivateKeyPair util function in the SDK.3
Save your keys
This will return your keys as strings. Save them securely.
Option 2: Using OpenSSL (command line)
1
Install OpenSSL
Make sure OpenSSL is installed in your system.
2
Run the command
Run:
3
Save your keys
This will output your private key and then your public key. Copy and save them securely.