--- a/MicroPython/uhashlib.py Thu Aug 29 19:05:05 2019 +0200 +++ b/MicroPython/uhashlib.py Thu Aug 29 19:05:30 2019 +0200 @@ -8,7 +8,7 @@ """ class sha1(): - def __init__(self, data=bytes()): + def __init__(self, data=None): pass def update(self, data): @@ -18,7 +18,7 @@ pass class sha256(): - def __init__(self, data=bytes()): + def __init__(self, data=None): pass def update(self, data): @@ -28,7 +28,7 @@ pass class md5(): - def __init__(self, data=bytes()): + def __init__(self, data=None): pass def update(self, data):