python-blake2
python-blake2 copied to clipboard
`key_length` must have a default value.
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 it.
This isssue fixes #2 .