generateKeyPair | R Documentation |
Create a public-private key pair
generateKeyPair(publicKeyFileName, privateKeyFileName)
publicKeyFileName |
Name of the file where the public key should be stored. |
privateKeyFileName |
Name of the file where the private key should be stored. |
Creates an RSA 4096-bit public-private key pair. The public key can be used to encrypt data, and only with the private key can the data be decrypted.
## Not run:
generateKeyPair("public.key", "private.key")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.