Skip to content
#

64bit

Here are 44 public repositories matching this topic...

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. This library bases its security on strong cryptographic primitives.

  • Updated May 1, 2020
  • Java
broofa
broofa commented Oct 18, 2018

Can I politely suggest that your README should contain a disclaimer indicating that there are some important caveats to this module?

Generates 64 bit integer hashes. Returns a number between 0 and 18446744073709552000

JSNumbers only have 52-bits (+ 1 sign bit) of resolution. Any number > Number.MAX_SAFE_INTEGER (9007199254740991) will see (often quite large) rounding errors.

1

Improve this page

Add a description, image, and links to the 64bit topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the 64bit topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.