Xojo.Crypto.RSAGenerateKeyPair
From Xojo Documentation
Method
Xojo.Crypto.RSAGenerateKeyPair(bits As UInteger, ByRef privateKey As Xojo.Core.MemoryBlock, ByRef publicKey As Xojo.Core.MemoryBlock) As Boolean
Supported for all project types and targets.
Supported for all project types and targets.
Generates a private and public key pair that is hex encoded. True if the keys were successfully generated, False if they were not.
Notes
You will typically use a bits value of 1024 or 2048.