Package: hashids 0.9.0.9000

Alex Shum

hashids: Generate Short Unique YouTube-Like IDs (Hashes) from Integers

An R port of the hashids library. hashids generates YouTube-like hashes from integers or vector of integers. Hashes generated from integers are relatively short, unique and non-seqential. hashids can be used to generate unique ids for URLs and hide database row numbers from the user. By default hashids will avoid generating common English cursewords by preventing certain letters being next to each other. hashids are not one-way: it is easy to encode an integer to a hashid and decode a hashid back into an integer.

Authors:Alex Shum [aut, cre], Ivan Akimov [aut], David Aurelio [ctb]

hashids_0.9.0.9000.tar.gz
hashids_0.9.0.9000.zip(r-4.5)hashids_0.9.0.9000.zip(r-4.4)hashids_0.9.0.9000.zip(r-4.3)
hashids_0.9.0.9000.tgz(r-4.5-any)hashids_0.9.0.9000.tgz(r-4.4-any)hashids_0.9.0.9000.tgz(r-4.3-any)
hashids_0.9.0.9000.tar.gz(r-4.5-noble)hashids_0.9.0.9000.tar.gz(r-4.4-noble)
hashids_0.9.0.9000.tgz(r-4.4-emscripten)hashids_0.9.0.9000.tgz(r-4.3-emscripten)
hashids.pdf |hashids.html
hashids/json (API)

# Install 'hashids' in R:
install.packages('hashids', repos = c('https://alshum.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/alshum/hashids-r/issues

On CRAN:

Conda:

4.10 score 18 stars 14 scripts 175 downloads 9 exports 0 dependencies

Last updated 6 years agofrom:c696e0c088. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 04 2025
R-4.5-winOKMar 04 2025
R-4.5-macOKMar 04 2025
R-4.5-linuxOKMar 04 2025
R-4.4-winOKMar 04 2025
R-4.4-macOKMar 04 2025
R-4.4-linuxOKMar 04 2025
R-4.3-winOKMar 04 2025
R-4.3-macOKMar 04 2025

Exports:decodedecode_hexDEFAULT_ALPHABETDEFAULT_SEPSencodeencode_hexhashid_settingsRATIO_GUARDSRATIO_SEPARATORS

Dependencies: