yomorun/hashids-java
Hashids algorithm v1.0.0 implementation in Java observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4521
- days_rel: n/a
- days_push: 1048
- n_releases_24m: 0
Adoption not part of the score
1027 stars · 153 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A small Java library implementing the Hashids algorithm (v1.0.0) to generate short, unique, decodable, URL-safe hashes from one or more non-negative integers. It is a port of the JavaScript hashids.js library, published to Maven Central as org.hashids.
Use cases
- generate YouTube-like short IDs from database primary keys
- shorten URLs with unguessable identifiers
- encode multiple integers into a single decodable hash
- hide sequential numeric IDs in public URLs
- generate profanity-free URL-safe confirmation codes
- encode and decode IDs on the fly without storing them in the database
When to choose
- you need reversible, decodable short IDs from non-negative integers in a Java or Android project
- you want URL-safe identifiers that avoid curse words
- you need to encode several numbers into one hash for clustered systems
- you want a tiny MIT-licensed library available on Maven Central
When to avoid
- you need to protect sensitive data - hashids is not encryption and can be decoded
- you want to hide user counts or other statistics that IDs could reveal
- you are starting a new project and prefer the newer Sqids algorithm that replaced Hashids
- you need cryptographically secure tokens or authentication credentials
Facets
library · maturity maintenance
serialization developer-tools developer-tools web-development jvm hashids short-ids url-safe-ids encoding decoding obfuscation algorithms android
3 sources
- readme: https://github.com/yomorun/hashids-java · fetched 2026-08-28 · 7c65755cc772
- homepage: http://hashids.org · fetched 2026-08-29 · e3b2502c7adb
- site_page: https://sqids.org/faq · fetched 2026-08-29 · e604ee26ebd8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| yomorun/hashids-java | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="yomorun/hashids-java")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem