-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
46 lines (36 loc) · 1.59 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
output:
md_document:
variant: markdown_github
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{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
```