knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)

Low-Budget Password Strength Estimation

Travis-CI Build Status Coverage Status CRAN_Status_Badge

zxcvbn is a password strength estimator inspired by password crackers. zxcvbnR provides an R interface to this Javascript library.

Through pattern matching and conservative estimation, it recognizes and weighs 30k common passwords, common names and surnames according to US census data, popular English words from Wikipedia and US television and movies, and other common patterns like dates, repeats (aaa), sequences (abcd), keyboard patterns (qwertyuiop), and l33t speak.

Installation

Currently the package isn't on CRAN. To install

devtools::install_github("jumpingrivers/zxcvbnR")

Usage

The main function in the package is check_password()

library("zxcvbnR")
check_password("ABCDE")
check_password("#rstats is great")

The function also returns a list containing other details

res = check_password("ABCDE")
res$feedback


jumpingrivers/zxcvbnR documentation built on May 8, 2019, 11:12 p.m.