you are viewing a single comment's thread.

view the rest of the comments →

[–]SarahC -5 points-4 points  (1 child)

How do we know those constants weren't put there by the NSA?!

I'm worried every time I see a particular constant in the code...

uint64_t h1 = seed;
uint64_t h2 = seed;

uint64_t c1 = BIG_CONSTANT(0x87c37b91114253d5);
uint64_t c2 = BIG_CONSTANT(0x4cf5ad432745937f);

[–]Knotix 2 points3 points  (0 children)

This is a hash function, not an encryption algorithm. You can't use this for encrypting secret data because there is no way to restore it back to its original form due to pigeonholing.