File: apicipher.rst

package info (click to toggle)
python-mbedtls 2.10.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 960 kB
  • sloc: python: 4,595; sh: 170; makefile: 18
file content (101 lines) | stat: -rw-r--r-- 1,981 bytes parent folder | download
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
:mod:`mbedtls.cipher` Package API
=================================

.. automodule:: mbedtls.cipher
.. data:: MODE_ECB
.. data:: MODE_CBC
.. data:: MODE_CFB
.. data:: MODE_CTR
.. data:: MODE_GCM
.. data:: MODE_CCM


:mod:`mbedtls.cipher.AES` Module
================================

.. automodule:: mbedtls.cipher.AES
.. data:: mbedtls.cipher.AES.block_size = 16

   Block size in bytes.

.. data:: mbedtls.cipher.AES.key_size = None

   Key size in bytes.


:mod:`mbedtls.cipher.ARC4` Module
=================================

.. automodule:: mbedtls.cipher.ARC4
.. data:: mbedtls.cipher.ARC4.block_size = 1

   Block size in bytes.

.. data:: mbedtls.cipher.ARC4.key_size = 16

   Key size in bytes.


:mod:`mbedtls.cipher.Blowfish` Module
=====================================

.. automodule:: mbedtls.cipher.Blowfish
.. data:: mbedtls.cipher.Blowfish.block_size = 8

   Block size in bytes.

.. data:: mbedtls.cipher.Blowfish.key_size = None

   Key size in bytes.


:mod:`mbedtls.cipher.Camellia` Module
=====================================

.. automodule:: mbedtls.cipher.Camellia
.. data:: mbedtls.cipher.Camellia.block_size = 16

   Block size in bytes.

.. data:: mbedtls.cipher.Camellia.key_size = None

   Key size in bytes.


:mod:`mbedtls.cipher.DES` Module
================================

.. automodule:: mbedtls.cipher.DES
.. data:: mbedtls.cipher.DES.block_size = 8

   Block size in bytes.

.. data:: mbedtls.cipher.DES.key_size = 8

   Key size in bytes.


:mod:`mbedtls.cipher.DES3dbl` Module
====================================

.. automodule:: mbedtls.cipher.DES3dbl
.. data:: mbedtls.cipher.DES3dbl.block_size = 8

   Block size in bytes.

.. data:: mbedtls.cipher.DES3dbl.key_size = 16

   Key size in bytes.


:mod:`mbedtls.cipher.DES3` Module
=================================

.. automodule:: mbedtls.cipher.DES3
.. data:: mbedtls.cipher.DES3.block_size = 8

   Block size in bytes.

.. data:: mbedtls.cipher.DES3.key_size = 24

   Key size in bytes.