Skip to content

Instantly share code, notes, and snippets.

@nmoinvaz
Last active July 3, 2020 16:34
Show Gist options
  • Save nmoinvaz/9e4d1bb2ca1e312912211bf81bf02283 to your computer and use it in GitHub Desktop.
Save nmoinvaz/9e4d1bb2ca1e312912211bf81bf02283 to your computer and use it in GitHub Desktop.
Zlib-ng hash table mask results
Results in the comments..
@nmoinvaz
Copy link
Author

nmoinvaz commented Jul 3, 2020

CRC32C

val &= 0xffffffff

image

val &= 0x7fffffff

image

val &= 0x0fffffff

image

val &= 0x07ffffff

image

val &= 0x00ffffff

image

val <<= 8

image

Knuth

val &= 0xffffffff

image

val &= 0x00ffffff

image

val <<= 8

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment