Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 12 Hashid Open-Source Projects
-
hashids
A small PHP library to generate YouTube-like ids from numbers. Use it when you don't want to expose your database ids to the user.
-
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.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
Hashids
A small Ruby gem 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.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
laravel-optimus
Transform your internal id's to obfuscated integers based on Knuth's integer hash. Laravel wrapper for the Optimus Library by Jens Segers with multiple connections support.
-
laravel-model-hashid
Generate, Save, and Route Stripe/Youtube-like Hash IDs for Laravel Eloquent Models
-
id-mask
IDMask is a Java library for masking internal ids (e.g. from your DB) when they need to be published to hide their actual value and to prevent forging. It has support optional randomisation has a wide support for various Java types including long, UUID and BigInteger.
-
hashids.cr
A Crystal shard 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.
Project mention: Show HN: Sqids (formely Hashids) – Generate short unique IDs from numbers | news.ycombinator.com | 2023-11-07More than 10 years ago, I released the first version of Hashids in PHP, an encoding library to generate unique IDs from numbers [0]. Over the years, many developers have converted the library to plenty of other programming languages. It was nice to see it grow, but there were always a few things that bothered me about the original algorithm, so a few months ago I've decided to try and address those issues.
With lots of help from the community, we've rebranded the library to Sqids (you can see the proposed changes here [1]).
The new library generates unique IDs faster and with a simpler algorithm. You can read all about it on the FAQ page [2] and try it out via the playground [3]. As always, feedback is welcome via HN or Github.
[0] https://github.com/vinkla/hashids/commit/98d72eac456aabbf2da...
You could add a uuidfield to your model or use hashids, for instance, and pass those instead of the pk.
Project mention: BasedUUID: URL-friendly, Base32-encoded UUIDs for Rails models | /r/rails | 2023-12-06You also might want to look into hashid: https://github.com/jcypret/hashid-rails
Project mention: IDMask – Encryption and Obfuscation of Database IDs | news.ycombinator.com | 2024-02-18
Hashids related posts
-
BasedUUID: URL-friendly, Base32-encoded UUIDs for Rails models
-
Show HN: Sqids (formely Hashids) – Generate short unique IDs from numbers
-
Passing data between template and view securely
-
Generate unique Id
-
Cache human-readable route-values of a Web API or not?
-
Using a Guid as a PK, best practices.
-
Generating what appears to be a random long from a long, and being able to reliablely convert it back to its orignal value.
-
A note from our sponsor - InfluxDB
www.influxdata.com | 13 May 2024
Index
What are some of the best open-source Hashid projects? This list will help you:
Project | Stars | |
---|---|---|
1 | hashids | 5,203 |
2 | Hashids.net | 3,252 |
3 | laravel-hashids | 1,965 |
4 | Optimus | 1,254 |
5 | Hashids | 971 |
6 | django-hashid-field | 365 |
7 | hashid-rails | 343 |
8 | laravel-optimus | 180 |
9 | laravel-model-hashid | 144 |
10 | kotlin-hashids | 118 |
11 | id-mask | 61 |
12 | hashids.cr | 52 |
Sponsored