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

ascii_val | Calculate the ascii value number of a character |

base16_to_dec | Converts a base 16 string to a base 10 number. Because I... |

decode | Decodes a hashid into the original integer or integer vector |

decode_hex | Decodes a hashid into the original hexidecimal number |

dec_to_base16 | Converts a base 10 number to base 16 number. Because I... |

encode | Encodes an integer or integer vector into a hashid string.... |

encode_hex | Encodes a hexademical number into a hashid |

enforce_min_length | Enforces hashid minimum length by padding the hashid with... |

hash | Maps an integer to a string. Generated string will be... |

hashid_defaults | Default Values for hashid settings |

hashid_settings | A function to create a hashid settings list. |

shuffle | Permutes the characters in a string based on an inputted salt... |

split | Splits a string based on a set of splitting characters |

unhash | Unhashes a string to an integer based on alphabet. |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.