CircuitPython/hashlib.py

changeset 7
e336d6afc5a6
equal deleted inserted replaced
6:81a2208f13e4 7:e336d6afc5a6
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 'hashlib' module.
8 """
9
10 class sha1():
11 def __init__(self, data=None):
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=None):
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=None):
32 pass
33
34 def update(self, data):
35 pass
36
37 def digest(self):
38 pass

eric ide

mercurial