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 def 'ucryptolib' module. | |
8 """ | |
9 | |
10 MODE_ECB = 1 | |
11 MODE_CBC = 2 | |
12 MODE_CTR = 6 | |
13 | |
14 class aes(): | |
15 def __init__(self, key, mode, IV=None): | |
16 pass | |
17 | |
18 def encrypt(self, in_buf, out_buf=None): | |
19 pass | |
20 | |
21 def decrypt(self, in_buf, out_buf=None): | |
22 pass |