aboutsummaryrefslogtreecommitdiffstats
path: root/doc/python.rst
blob: 32ffe38782cd5550a8515df35f28d4b815f1b7c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

Python Binding
========================================

.. highlight:: python

.. note::

   The Python binding should be considered alpha software, and the
   interfaces may change in the future.

Botan includes a binding for Python, implemented using Boost.Python.

As you can see, it is not currently documented, though there are a few
examples under `examples/python`, such as RSA

.. literalinclude:: examples/python/rsa.py

and EAX encryption using a passphrase:

.. literalinclude:: examples/python/cipher.py