Euclid.Extra.Random.string

You're seeing just the function string, go back to Euclid.Extra.Random module for more information.
Link to this function

string(character_count \\ 32)

View Source
This function is deprecated. Use `Euclid.Random.string/1` instead.

Specs

string(character_count :: pos_integer()) :: binary()

Returns a base64 encoded string of given length

Examples

iex> Euclid.Extra.Random.string()
"Sr/y4m/YiVSJcIgI5lG+76vMfaZ7KZ7c"
iex> Euclid.Extra.Random.string(5)
"9pJrK"