Learn R Programming

hashids (version 0.9.0)

hashid_settings: A function to create a hashid settings list.

Description

A function to create a hashid settings list.

Usage

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.