From a427f714280e471557f5ff1a7138f282019b4747 Mon Sep 17 00:00:00 2001 From: justuser-31 Date: Sat, 26 Jul 2025 13:42:38 +0000 Subject: [PATCH 1/2] Update README.md --- README.md | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 36cd69d..8f91c81 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,23 @@ -# just_simple_cryptography +Simple cryptography mini-libraries for C++ and Python. +Just work. -Simple cryptography mini-libraries for C++ and Python. -Just work. \ No newline at end of file +## How to use +1. Install `make` (watch your distro package) +2. Install botan2 [as in wiki](https://botan.randombit.net/handbook/) / [in git](https://github.com/randombit/botan) / [install from your distro.](https://github.com/randombit/botan/wiki/Distros) +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 +* Join inside folder +* `python configure.py --prefix=/usr/local` +* `make -j4` (-j4 is 4 threads) +* `make install` (with root) +2. 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) \ No newline at end of file From fd9fee572ef3993045534bd5fef65ecd40332ebc Mon Sep 17 00:00:00 2001 From: justuser-31 Date: Sat, 26 Jul 2025 14:42:15 +0000 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8f91c81..22e602e 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Just work. ## 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 +* 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)