password.generator: Strong passwords generator

View source: R/pass.generator.R

password.generatorR Documentation

Strong passwords generator

Description

Generate as many strong passwords as you wish, in whichever length, and more!

Usage

password.generator(pass_length = 8, pass_num = 10, use.signs = F, pin = NULL)

Arguments

pass_length

The length of each password.

pass_num

The total passwords you want to generate.

use.signs

A logical, whether to use signs or not. Default is set to FALSE.

pin

A numeric pin code (seed) to generate the same list of passwords each time. For random passwords each time, leave untouched.

Details

Don't compromise on weak passwords or ones that are hard to remember. With this simple function you can generate strong passwords that contain letters (upper/lower case) and digits, and if you wish, signs as well, such as !#$^&*.~';.

If you don't set a pin code, you will get different passwords each time, but if you set a pincode (that ranges between 1 and 10 digits), you will be able to produce the same passwords even months later, making sure not one of your strong passwords is lost!

Note

Some websites don't support signs as their password.

Examples

password.generator()
# Since default values are set, running an empty function generates 10 passwords, 8 length each.
password.generator(pass_length=4,pass_num=10,use.signs=TRUE,pin=1927)
# This line of code will produce the same passwords each time.

bgupsych/bgupsych documentation built on Nov. 1, 2023, 9:41 a.m.