enforce_min_length {hashids} | R Documentation |
Enforces hashid minimum length by padding the hashid with additional characters.
Description
Enforces hashid minimum length by padding the hashid with additional characters.
Usage
enforce_min_length(encoded, min_length, alphabet, guards, values_hash)
Arguments
encoded |
encoded hashid |
min_length |
minimum length required for hashid |
alphabet |
set of letters used to generate hashid |
guards |
set of guards used to generate hashid |
values_hash |
value hashed used to select guard characters |
Value
hashid with padded characters to insure minimum length
[Package hashids version 0.9.0 Index]