generate_passphrase: Generates a passphrase

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/rice.R

Description

Generates a passphrase.

Usage

1
generate_passphrase(tokens = generate_token(7), verbose = TRUE, ...)

Arguments

tokens

a vector of character representing the tokens to be used to generate the passphrase. By default, 7 are randomly generated using generate_token(7).

verbose

if TRUE the passphrase is displayed as a message

...

additional parameters to be passed to match_token

Details

Given a wordlist and a number of words, this function generates a passphrase. You can control the wordlist you choose and whether the passphrase uses title case by providing additional arguments that will be passed to match_token.

Value

a character string representing the passphrase

Author(s)

Francois Michonneau

See Also

match_token, generate_token

Examples

1
2
  generate_passphrase(tokens = generate_token(7, "pseudorandom"),
                      verbose = FALSE)

fmichonneau/riceware documentation built on Feb. 9, 2021, 2:59 p.m.