-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path__init__.py
executable file
·71 lines (61 loc) · 1.85 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#!/usr/bin/env python2
# Copyright (C) 2017 Martijn Terpstra
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
__all__ = [
"aes",
"chacha20",
"common",
"default",
"dsa",
"ecc",
"manytimessig",
"statelesssig",
"mceliece",
"md4",
"mt19937",
"onetimesig",
"pkcs7",
"poly1305",
"rc4",
"rsa",
"sha",
"test",
"thinice",
"twotimesig",
]
__version__ = '1.0.0'
__revision__ = "$Id$"
version_info = (1, 0, 0, 'final', 0)
# load everything for easy use
from crypturd.aes import *
from crypturd.chacha20 import *
from crypturd.common import *
from crypturd.dsa import *
from crypturd.ecc import *
from crypturd.manytimessig import *
from crypturd.statelesssig import *
from crypturd.mceliece import *
from crypturd.md4 import *
from crypturd.mt19937 import *
from crypturd.onetimesig import *
from crypturd.pkcs7 import *
from crypturd.poly1305 import *
from crypturd.rc4 import *
from crypturd.rsa import *
from crypturd.sha import *
from crypturd.test import test_all as selftest
from crypturd.twotimesig import *
import crypturd.thinice
from crypturd.default import *
# Add default cipher functions
__all__ += ["encrypt", "decrypt", "hash", "rand", "sign_keypair",
"verify", "sign", "DH_keypair", "DH_common_secret"]