Learn R Programming

hashids (version 0.9.0)

hash: Maps an integer to a string. Generated string will be inversely proportional to alphabet length.

Description

Maps an integer to a string. Generated string will be inversely proportional to alphabet length.

Usage

hash(number, alphabet)

Arguments

number
Integer to hash
alphabet
Possible letters for string.

Value

hashed string