Packages

A genserver that loads up an ets table with bad passwords and a helper function to look the password up. As described here https://elixirforum.com/t/most-performant-way-to-search-a-file-for-a-string/16996

Current section

Files

Jump to
badpasswords README.md
Raw

README.md

# Badpasswords

**TODO: Add description**

## Installation

The package can be installed by adding `badpasswords` to your list of dependencies in `mix.exs`:

```elixir
def deps do
  [
    {:badpasswords, "~> 0.1.0"}
  ]
end
```

## Usage

```elixir
# first start the GenServer
GenServer.start_link(BadPasswords, [])

# Then check is the password is bad
BadPasswords.contains?("I Love You")
```