Crypto.RSAGenerateKeyPair
From Xojo Documentation
Method
Crypto.RSAGenerateKeyPair(Bits As Integer, ByRef PrivateKey As String, ByRef PublicKey As String) As Boolean
New in 2013r4
Supported for all project types and targets.
New in 2013r4
Supported for all project types and targets.
Generates a private and public key pair that is hex encoded. Returns True on success, False if failed. Bits is usually 1024 or 2048.
Sample Code
Generate 1024-bit private and public keys: