mechanism() = nif | port
pwerr() = invalid_salt | invalid_salt_length | invalid_rounds
rounds() = 4..31
| gen_salt/0 | |
| gen_salt/1 | |
| hashpw/2 | |
| mechanism/0 | |
| start/0 | |
| stop/0 |
gen_salt() -> {ok, string()}
gen_salt(Rounds::rounds()) -> {ok, string()}
hashpw(Password::string() | binary(), Salt::string() | binary()) -> {ok, string()} | {error, pwerr()}
mechanism() -> mechanism()
start() -> any()
stop() -> any()
Generated by EDoc