MicroPython/uhashlib.py

changeset 2
2c3f30af031d
child 8
f706499906b8
equal deleted inserted replaced
1:afcd3f0662b1 2:2c3f30af031d
1 # -*- coding: utf-8 -*-
2
3 # Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de>
4 #
5
6 """
7 Module containing stubs for API generation of the 'uhashlib' module.
8 """
9
10 class sha1():
11 def __init__(self, data=bytes()):
12 pass
13
14 def update(self, data):
15 pass
16
17 def digest(self):
18 pass
19
20 class sha256():
21 def __init__(self, data=bytes()):
22 pass
23
24 def update(self, data):
25 pass
26
27 def digest(self):
28 pass
29
30 class md5():
31 def __init__(self, data=bytes()):
32 pass
33
34 def update(self, data):
35 pass
36
37 def digest(self):
38 pass

eric ide

mercurial