python-rabin-fingerprint icon indicating copy to clipboard operation
python-rabin-fingerprint copied to clipboard

Question about output of elements in list

Open mjaysonnn opened this issue 6 years ago • 1 comments

Hello, I'm trying to use rabin.

when I run

a = rabin("file")

it shows the list.

May I know what the elements in list mean?

does that represent each chunk size or output of hash on each chunk?

mjaysonnn avatar Feb 15 '19 06:02 mjaysonnn

The elements are the chunk sizes in order. A quick sum() command will show it adds up to the size of the file itself. It is not the hash!

Jwink3101 avatar Nov 12 '19 14:11 Jwink3101