Learn R Programming

riceware (version 0.4)

generate_passphrase: Generates a passphrase

Description

Generates a passphrase.

Usage

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

Value

a character string representing the passphrase

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.

See Also

match_token, generate_token

Examples

Run this code
generate_passphrase(tokens = generate_token(7, "pseudorandom"),
                      verbose = FALSE)

Run the code above in your browser using DataLab