python-blake2
python-blake2 copied to clipboard
blake2 python module
Data that includes null bytes seems to throw an exception: > > > import blake2 > > > blake2.blake2('\x02\x01') > > > 'c9b2d35d76fb7c0d8ffe8d5342d869b2237569d57e1f9415ee732f802e17e9a384f390834addad4a04443bcfe91e985d6c2daddd16bd97471bd2c02cc47159cd' > > > blake2.blake2('\x02\x00') > > >...
When `key` is `None`, `key_length` wouldn't be set by `PyArg_ParseTupleAndKeywords`, since format `s` doesn't accept `None`. Thus I added a proper default value for it, and also test case for...
Build log: https://gist.github.com/SamuelMarks/5096576