aboutsummaryrefslogtreecommitdiffstats
path: root/doc/manual/python.rst
blob: b8fd59b9a4cc2ad0ae93067b75de9efbd701755d (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 `src/scripts/examples`, such as RSA:

.. literalinclude:: ../../src/scripts/examples/rsa.py

and EAX encryption using a passphrase:

.. literalinclude:: ../../src/scripts/examples/cipher.py