Closed srachuri closed 9 years ago
did you use the same key in both instances?
In line 2 of this code block you generate a NEW irreducible polynomial every time this runs. To avoid this, you need to use the same polynomial each time.
Try printing out the hex digits of the polynomial and then construct the polynomial with that string.
I m trying to generate fingerprint for a string. Below is the code snippet
I am always seeing new values for the same string that i m trying to finger print. I was planning to use the fingerprint for detecting duplicate documents. Not sure if the code is working as expected or i am missing any thing here?