README.md
# rand_str
[](https://travis-ci.org/ClicaAi/rand_str)
[](https://hex.pm/packages/rand_str)
An OTP library for generating random strings from whitelisted character lists.
## Why?
Reusability. You shouldn't really need to write this code every time it's needed.
## Callbacks
- get/1: returns a random list of the specified length. Returns base64 compatible characters.
- get/2: same as get/1, but uses a custom alphabet for generating the characters.
Use
-----
```
append this to the deps list in your rebar.config file
{deps, [
... other deps
{rand_str, "~>1.0"}
]}.
```