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.
-
Updated
Oct 11, 2020 - PHP
{{ message }}
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 implementation in Rust
Shorten and obfuscate IDs
Hashids, ported for Perl
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. This library bases its security on strong cryptographic primitives.
A long represantation of a BIGINT for use in the Web with checksum
Add a description, image, and links to the database-ids topic page so that developers can more easily learn about it.
To associate your repository with the database-ids topic, visit your repo's landing page and select "manage topics."
Hi, im trying to use Hashids with Typescript and Node.
import Hashids from 'hashids';I'm not getting any Typescript errors in the editor, but Im getting this error when the code is compiled.
Using ts-node version 8.5.4, typescript version 3.7.5`Error: No valid exports main found for 'node_modules\hashids'
at resolveExportsTarget (internal/modules/cjs/loader.js:625:9)