ifduyue / python-xxhash

Python Binding for xxHash

Home Page:https://pypi.org/project/xxhash/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request: add a reset() method?

congma opened this issue · comments

Hi,

I think it would be great if there's a reset() method for xxh32/64 objects, which clears the slate so the next update() call begins anew. This shouldn't hurt hashlib compatibility I think.

What do you think?

--cong.

Sounds reasonable to me