DarkMatter.ShortIds.decode

You're seeing just the function decode, go back to DarkMatter.ShortIds module for more information.
Link to this function

decode(cipher, opts \\ [alphabet: "ABDEGJKMNPQRVWXYZ23456789", min_len: 3])

View Source

Specs

decode(cipher(), options()) :: {:ok, keys()} | :error

Decodes a given key from a unique short-id

## Examples

iex> decode("NY6")
{:ok, [5]}