hashid_settings: A function to create a hashid settings list.

Description Usage Arguments Value

Description

A function to create a hashid settings list.

Usage

1
2
hashid_settings(salt, min_length = 0, alphabet = DEFAULT_ALPHABET,
  sep = DEFAULT_SEPS)

Arguments

salt

An additional string to make hashids more unique.

min_length

Minimum length for hashid.

alphabet

String of characters for hashid.

sep

String of characters to use as separators.

Value

A list of parameters used in encoding and decoding.


ALShum/hashids-r documentation built on May 5, 2019, 11:32 a.m.