An open API service indexing awesome lists of open source software.

https://github.com/jumpingrivers/zxcvbnr

Password Strength Estimator
https://github.com/jumpingrivers/zxcvbnr

password r r-package

Last synced: 10 months ago
JSON representation

Password Strength Estimator

Awesome Lists containing this project

README

          

---
output:
md_document:
variant: markdown_github
---

```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```

# Low-Budget Password Strength Estimation

[![Travis-CI Build Status](https://travis-ci.org/jumpingrivers/zxcvbnR.svg?branch=master)](https://travis-ci.org/jumpingrivers/zxcvbnR)
[![Coverage Status](https://img.shields.io/codecov/c/github/jumpingrivers/zxcvbnR/master.svg)](https://codecov.io/github/jumpingrivers>/zxcvbnR?branch=master)
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/zxcvbnR)](https://cran.r-project.org/package=zxcvbnR)

[zxcvbn](https://github.com/dropbox/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
```{r eval = FALSE}
devtools::install_github("jumpingrivers/zxcvbnR")
```

### Usage

The main function in the package is `check_password()`
```{r example}
library("zxcvbnR")
check_password("ABCDE")
check_password("#rstats is great")
```
The function also returns a list containing other details
```{r}
res = check_password("ABCDE")
res$feedback
```