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

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.

Getting started

Package details

AuthorAlex Shum [aut, cre], Ivan Akimov [aut] (original author of hashids -- implemented in javascript), David Aurelio [ctb] (implemented hashids in python 2 and 3)
Date of publication2015-09-11 10:10:26
MaintainerAlex Shum <[email protected]>
LicenseMIT + file LICENSE
URL https://github.com/ALShum/hashids-r/ http://hashids.org
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the hashids package in your browser

Any scripts or data that you put into this service are public.

hashids documentation built on May 29, 2017, 2:21 p.m.