rsa_keygen | R Documentation |
rsa_keygen()
generates a pair of RSA (Rivest-Shamir-Adleman) private and
public keys for your project.
rsa_keygen(dir = "./inst/ssh", password = NULL, bits = 2048)
dir |
(optional) a string specifying the directory to save the generated
keys (default: |
password |
(optional) a string specifying the password to protect the
private key. If |
bits |
(optional) an integer number specifying the length of the RSA key
in bits (default: |
An invisible NULL
. This function is called for side effects only.
temp_dir = tempfile("dir")
dir.create(temp_dir)
rsa_keygen(dir = temp_dir, password = "test", bits = 2048)
list.files(temp_dir)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.