GENERATE_RSA_KEYS

Generates a pair of public and private keys using the RSA encryption algorithm. The key size can be either 2048 or 4096, and the default is 2048.

Syntax 

GENERATE_RSA_KEYS()

Usage examples 

Example 1

Formula

GENERATE_RSA_KEYS()

Output

1
[
2
"public_key",
3
"private_key"
4
]
Was this helpful?