vista_client v0.1.3 VistaClient.Random

Helper to generate random strings.

Link to this section Summary

Functions

Example

iex> VistaClient.Random.string()
"a1wvjFLn6TQ4CTtz"
iex> VistaClient.Random.string(32)
"jLFFKQv4Gh9QtxIl4FCepoQJwGkI87RI"

Link to this section Functions

Link to this function

string(length \\ 16)

string(integer()) :: String.t()

Example

iex> VistaClient.Random.string()
"a1wvjFLn6TQ4CTtz"
iex> VistaClient.Random.string(32)
"jLFFKQv4Gh9QtxIl4FCepoQJwGkI87RI"