Skip to content

Add optional data kwarg to SHA1 init

Compare
Choose a tag to compare
@brentru brentru released this 27 Dec 19:41
5210b90

#7 Updated SHA1 constructor to accept optional data kwarg to reflect CPython's hashlib api: hashlib.sha1(name[, data]).

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

Read the docs for info on how to use it.