Simple cryptography mini-libraries for C++ and Python. Just work.
Go to file
2025-07-27 14:39:29 +03:00
.gitignore init 2025-07-26 16:21:32 +03:00
botan2.py init 2025-07-26 16:21:32 +03:00
crypto_lib.hpp Restructure 2025-07-27 14:39:29 +03:00
crypto_lib.py init 2025-07-26 16:21:32 +03:00
example.cpp Restructure 2025-07-27 14:39:29 +03:00
example.py init 2025-07-26 16:21:32 +03:00
LICENSE Initial commit 2025-07-26 12:33:44 +00:00
Makefile Outside declaration of botan path 2025-07-26 16:37:33 +03:00
README.md Update README.md 2025-07-26 14:42:15 +00:00

Simple cryptography mini-libraries for C++ and Python. Just work.

How to use

  1. Install make (watch your distro package)
  2. Install botan2 as in wiki / in git / install from your distro.
  3. Run examples with make:
  • C++ all: make
  • C++ build: make build
  • C++ run: make run
  • Python: make run_python

If you have trouble (with install botan) and you on Debian

  1. Install botan2 from repo:
  • Download botan2 from repo https://github.com/randombit/botan (BOTAN2!!!, NOT 3)
  • Join inside folder
  • python configure.py --prefix=/usr/local
  • make -j4 (-j4 is 4 threads)
  • make install (with root)
  1. Install packages from repo: apt install botan libbotan-2-dev python3-botan

If you have trouble with finding libs

You SHOULD set BOTAN_PATH and LD_LIBRARY_PATH by YOURSELF if you have trouble (mlocate will help you: updatedb, locate botan-2 and etc)