awesome-repositories.com
Blog
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
vinkla avatar

vinkla/hashids

0
View on GitHub↗
5,436 stars·413 forks·PHP·MIT·3 viewshashids.org/php↗

Hashids

Hashids is a PHP library for the reversible transformation of numeric and hexadecimal database keys into non-sequential, masked alphanumeric identifiers. It functions as a tool to encode numeric database identifiers into short strings and decode them back to their original values.

The project focuses on hiding internal database primary keys and sequential record counts in public URLs to prevent data scraping and exposure. It utilizes a secret salt for deterministic mapping and supports customizable character sets to ensure unique identifiers across different projects.

The library provides utilities for both numeric and hexadecimal ID obfuscation, enabling the generation of masked identifiers that can be restored to their original format for secure data handling.

Features

  • Database ID Masking - Hides internal database primary keys by converting numeric IDs into non-sequential strings to prevent record enumeration.
  • Custom Alphabet Encodings - Implements encoding using a customizable alphabet to transform numeric IDs into short, readable strings.
  • Deterministic ID Salts - Uses a secret salt to scramble character mappings and ensure unique, deterministic IDs across projects.
  • Encoding Decoders - Provides a reversible process to encode numeric identifiers and decode them back to their original values.
  • Numeric Identifier Masking - Encodes and decodes integers into masked identifiers to keep internal system IDs private.
  • Numeric Obfuscation Libraries - Provides a PHP library to encode numeric database identifiers into short non-sequential strings and decode them back.
  • Numeric Obfuscations - Encodes numeric database identifiers into short, non-sequential strings to hide primary keys.
  • Database Identifier Masking - Hides primary keys from end users by converting integers into non-sequential, YouTube-like identifiers.
  • Hexadecimal ID Obfuscations - Obfuscates long hexadecimal strings into masked identifiers and restores them for secure data handling.
  • URL Identifiers - Generates short, URL-friendly alphanumeric identifiers to avoid exposing sequential record counts.

Star history

Star history chart for vinkla/hashidsStar history chart for vinkla/hashids

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Hashids

Similar open-source projects, ranked by how many features they share with Hashids.
  • niieani/hashids.jsniieani avatar

    niieani/hashids.js

    4,295View on GitHub↗

    hashids.js is a JavaScript library that converts numbers into short, unique strings and decodes them back to their original values. It serves as a two-way numeric encoder that transforms integers into non-sequential strings without requiring the storage of the mapping. The project provides utilities for masking database primary keys and hexadecimal values to prevent the guessing of sequential resource addresses. It uses custom salts and alphabets to generate formatted identifiers, ensuring that the same numbers produce different strings across different projects. The library includes capabil

    TypeScriptdatabase-idsencodinghacktoberfest
    View on GitHub↗4,295
  • dylang/shortiddylang avatar

    dylang/shortid

    5,715View on GitHub↗

    shortid is a library for creating compact, non-sequential strings used as unique identifiers for database records and public URLs. It functions as a URL-friendly identifier utility designed to produce short alphanumeric strings. The project allows for the use of a custom alphabet to control the visual appearance of identifiers and avoid ambiguity. This custom character set mapping ensures that generated keys meet specific formatting or branding requirements. The system includes capabilities for non-sequential key generation to prevent resource enumeration, as well as tools to validate whethe

    JavaScript
    View on GitHub↗5,715
  • invoiceninja/invoiceninjainvoiceninja avatar

    invoiceninja/invoiceninja

    9,841View on GitHub↗

    Invoice Ninja is a professional billing and invoicing platform designed for managing clients, projects, and financial records. It serves as a multi-currency billing system and time tracker available as both a cloud-based application and a self-hosted suite. The platform distinguishes itself through comprehensive support for regional taxes, diverse currency formats, and automated exchange rate updates. It includes dedicated cross-platform mobile and desktop applications to manage business data across different operating systems. The software covers the end-to-end financial lifecycle, includin

    PHP
    View on GitHub↗9,841
  • ciphey/cipheyciphey avatar

    ciphey/ciphey

    21,453View on GitHub↗

    Ciphey is an automated decryption tool and cryptographic analysis framework designed to identify and reverse encryptions, encodings, and hashes without requiring a known key or cipher. It functions as a hash cracking engine and a heuristic cipher identifier to recover original plaintext from unknown data patterns. The project features a nested encoding resolver that iteratively unwraps multiple layers of encryption and encoding until readable text is reached. It employs a heuristic cryptanalysis workflow to analyze data characteristics and guess the likely encoding scheme or encryption method

    Rust
    View on GitHub↗21,453
See all 15 alternatives to Hashids→

Frequently asked questions

What does vinkla/hashids do?

Hashids is a PHP library for the reversible transformation of numeric and hexadecimal database keys into non-sequential, masked alphanumeric identifiers. It functions as a tool to encode numeric database identifiers into short strings and decode them back to their original values.

What are the main features of vinkla/hashids?

The main features of vinkla/hashids are: Database ID Masking, Custom Alphabet Encodings, Deterministic ID Salts, Encoding Decoders, Numeric Identifier Masking, Numeric Obfuscation Libraries, Numeric Obfuscations, Database Identifier Masking.

What are some open-source alternatives to vinkla/hashids?

Open-source alternatives to vinkla/hashids include: niieani/hashids.js — hashids.js is a JavaScript library that converts numbers into short, unique strings and decodes them back to their… dylang/shortid — shortid is a library for creating compact, non-sequential strings used as unique identifiers for database records and… invoiceninja/invoiceninja — Invoice Ninja is a professional billing and invoicing platform designed for managing clients, projects, and financial… google/open-location-code — Open Location Code is a geocoding library and toolset used to transform global latitude and longitude coordinates into… ciphey/ciphey — Ciphey is an automated decryption tool and cryptographic analysis framework designed to identify and reverse… woltapp/blurhash — A very compact representation of a placeholder for an image.