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
- Host: GitHub
- URL: https://github.com/jumpingrivers/zxcvbnr
- Owner: jumpingrivers
- License: other
- Created: 2017-08-15T13:01:12.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-15T13:28:44.000Z (almost 9 years ago)
- Last Synced: 2025-01-15T23:25:26.394Z (over 1 year ago)
- Topics: password, r, r-package
- Language: R
- Homepage:
- Size: 391 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
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
[](https://travis-ci.org/jumpingrivers/zxcvbnR)
[](https://codecov.io/github/jumpingrivers>/zxcvbnR?branch=master)
[](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
```