This module provides randomized strings for use as identifiers. The URL-safe Base64 character set is used.
local id =require"util.id"-- 48 bits of entropyid.short()--> aiEerlkh-- 96 bits of entropyid.medium()--> 5U-U9kz5cZhdokJI-- 192 bits of entropyid.long()--> N_9lHDBv_PHzPVy2dAasqLSMBMWubaEL-- variable amount of entropy (n * 8 bits)id.custom(3)--> function () --> _BJm