Description Usage Arguments Value Examples
Function to generate secure readable passwords/passphrases
1 2 |
no_words |
- Number of words to be used in the password |
symbols |
- Do we want symbols in the password (TRUE/FALSE)? |
numbers |
- Do we want numbers in the password (TRUE/FALSE)? If TRUE random numbers between 0 and 999 are selected. |
sep |
- Specify the separator between the words. If NULL a random symbol is selected. |
data |
- words to be used in the password. In default mode the words from The Project Gutenberg EBook of Webster's Unabridged Dictionary, by Various are used (93077 words). |
A password.
1 2 3 4 5 6 7 8 9 | library(PasswordGen)
password(no_words = 7, numbers = FALSE, symbols = FALSE, sep = ' ')
password(no_words = 3, numbers = FALSE, symbols = FALSE, sep = '_')
password(no_words = 3, numbers = FALSE, symbols = TRUE, sep = '_')
password(no_words = 4, numbers = TRUE, symbols = FALSE, sep = '-')
password(1)
password(2)
password()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.