ullmark/hashids.net
A small .NET package to generate YouTube-like hashes from one or many numbers. Use hashids when you do not want to expose your database ids to the user. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5070
- days_rel: n/a
- days_push: 1043
- n_releases_24m: 0
Adoption not part of the score
3354 stars · 172 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A small .NET (C#) library that encodes integers into short, YouTube-like reversible string IDs (e.g. 347 -> yr8) and decodes them back, with support for salts, custom alphabets, and minimum hash lengths. It is the original Hashids implementation for .NET, now feature-complete and superseded by Sqids.
Use cases
- hide database ids from users in urls
- generate short unique ids from numbers in c#
- encode multiple numbers into one short string
- create unguessable non-sequential ids for incremental input
- generate url-safe short ids without profanity
- bundle several parameters into a single id
When to choose
- you are on .NET and need reversible, obfuscated numeric ids
- you want a battle-tested, feature-complete library with stable behavior
- you need custom salt and alphabet support for app-unique ids
When to avoid
- you need cryptographic hashing or encryption - ids are reversible
- you need to encode negative numbers
- you are starting a new project - the readme recommends sqids-dotnet instead
- you need new features - the library only accepts bug fixes
Facets
library · maturity maintenance
serialization security developer-tools web-development databases dotnet cross-platform hashids id-obfuscation short-ids encoding decoding nuget
3 sources
- readme: https://github.com/ullmark/hashids.net · fetched 2026-08-28 · 8e4c8a303752
- homepage: http://www.hashids.org/net/ · fetched 2026-08-29 · 5e6bee61ea41
- site_page: https://sqids.org/faq · fetched 2026-08-29 · e604ee26ebd8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ullmark/hashids.net | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="ullmark/hashids.net")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem