Proca.Confirm.SimpleCode (proca v3.4.1)
Link to this section Summary
Link to this section Functions
Link to this function
generate()
Generate random password
Example
defmodule(Passwd, do: use(RandomPassword, alpha: 16, decimal: 4, symbol: 2))
Passwd.generate()
"vwt8FauEN+spr5{m1Rhso7"
Link to this function
info()
RandomPassword
generated module info.
Example
defmodule(Password, do: use(RandomPassword, alpha: 16, decimal: 2, symbol: 1))
Password.info()
%RandomPassword.Info{
alpha: 16,
decimal: 2,
entropy_bits: 102.66,
symbol: 1,
symbols: "!#$%&()*+,-./:;<=>?@[]^_{|}~"
}