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.
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)