View source: R/utils-passwords.R
gen_pw_from_char | R Documentation |
Generate a password from a non-secret string char
with a
secret key
.
gen_pw_from_char(char, key, pw_length = 10)
char |
A character string from which to generate a password. |
key |
A character string representing a secret key for generating the password with the given character string. |
pw_length |
(numeric) Length of the password |
A character string of length pw_length
generated with a seed
derived from the char
provided (a public facing string, such as a name)
as wekk as the key
(a secret string known to the password generator).
# Create a password for the name "Jonathan" using the secret key "password". gen_pw_from_char(char = "Jonathan", key = "password", pw_length = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.