Description Usage Arguments Value Author(s) References See Also Examples
View source: R/randomPassword.R
This function generates a random passord sampled from the ASCII table.
1 | randomPassword(length = 12, replace = FALSE)
|
length |
length of the password |
replace |
sample from the ASCII table with ( |
a character string
Yihui Xie <http://yihui.name>
http://cos.name/en/topic/generating-passwords-with-r-from-ascii-characters
1 2 3 4 5 6 7 | randomPassword()
# set the seed to get fixed password every time; you may just remember the seed
# and forget the real password because it's reproducible
set.seed(123)
randomPassword()
# long password
randomPassword(20, TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.