generatePassword: Generate a random password

Description Usage Arguments Value

View source: R/utils.R

Description

A password is generated by sampling letters from an alphabet, consisting any combination of lowercase and uppercase characters, digits as well as special characters.

Usage

1
2
generatePassword(length = 15, lowercase = TRUE, uppercase = TRUE,
  digits = TRUE, symbols = TRUE)

Arguments

length

The length of the resulting password.

lowercase

Whether to include lowercase characters (logical).

uppercase

Whether to include uppercase characters (logical).

digits

Whether to include digits (logical).

symbols

Whether to include special characters (logical).

Value

A password as a string.


nbenn/secretr documentation built on May 23, 2019, 12:24 p.m.