topPasswords: Extract top "n" passwords from a password list

Description Usage Arguments Value Examples

Description

Returns the top "n" (i.e. most prevalent) paasswords in the passwords data frame

Usage

1
topPasswords(passwords, n = 10)

Arguments

passwords

a data frame of passwords

n

how many most prevalent passwords to include in the resultant data frame (default: 10)

Value

data frame of count & ratio of top 'n' passwords

Examples

1
2
passwords <- readPass("singles.org.txt")
top.20 <- topPasswords(passwords, 20)

ddsbook/ripal documentation built on May 15, 2019, 1:53 a.m.