Simple cryptography mini-libraries for C++ and Python.
Just work.
| .gitignore | ||
| botan2.py | ||
| crypto_lib.hpp | ||
| crypto_lib.py | ||
| example.cpp | ||
| example.py | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
Simple cryptography mini-libraries for C++ and Python. Just work.
How to use
- Install
make(watch your distro package) - Install botan2 as in wiki / in git / install from your distro.
- 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
- Install botan2 from repo:
- Download botan2 from repo https://github.com/randombit/botan (BOTAN2!!!, NOT 3)
- Join inside folder
python configure.py --prefix=/usr/localmake -j4(-j4 is 4 threads)make install(with root)
- 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)