oconnor663 / blake3-py

Python bindings for the BLAKE3 cryptographic hash function
Other
139 stars 12 forks source link

Add `copy` method and `name` attribute. #17

Closed xkortex closed 3 years ago

xkortex commented 3 years ago

https://github.com/oconnor663/blake3-py/issues/16

This adds a copy() method which returns an independent hasher with the same state, and a name attribute which just returns 'blake3'. This bring the implementation interface into agreement with other python hashlib hash functions.

oconnor663 commented 3 years ago

Forgive my wall-of-text comments above :) This looks good! I'll let you take a final pass at the doc comments however you see fit, and then I'll merge.

xkortex commented 3 years ago

Alright, go ahead and merge at your leisure! (Probably want to squash if you can)

oconnor663 commented 3 years ago

Done! I'll cut a release sometime soon to get this out.

oconnor663 commented 3 years ago

Just tagged 0.1.8.