generate_password: Genererate a Password

Description Usage Arguments Details Value Examples

View source: R/generate_passwords.R

Description

Generates a random character string of specified length.

Usage

1
generate_password(n, type = "alpha_numeric")

Arguments

n

Numberof characters in password.

type

c("alpha_numeric", "anything_else")

Details

If type equals "alpha_numeric" (the default), only alpha-numeric characters are used to generate the password. If type does not equal "alpha_numeric" then at least one non-alpha-numeric symbol will be included in the password. In either case, the alpha characters used are both upper and lower case.

Value

A character string.

Examples

1

jfq3/QsRutils documentation built on Jan. 18, 2021, 12:40 a.m.