small scripts i made for use with some dhbw items
Go to file
Christoph J. Scherr a0448a339a
renaming python source dir
2023-05-17 14:24:48 +02:00
.github/workflows migration to pyo3 app 2023-04-25 18:09:04 +02:00
src renaming python source dir 2023-05-17 14:24:48 +02:00
src-py/plexcryptool renaming python source dir 2023-05-17 14:24:48 +02:00
.gitignore work on feistel 2023-05-10 14:41:06 +02:00
Cargo.toml renaming python source dir 2023-05-17 14:24:48 +02:00
LICENSE „LICENSE“ ändern 2023-04-22 10:51:48 +02:00
README.md pip install notice 2023-05-06 16:13:28 +02:00
install.sh python interface for the newer stuff 2023-05-17 13:07:11 +02:00
pyproject.toml renaming python source dir 2023-05-17 14:24:48 +02:00
pyvenv.cfg migration to pyo3 app 2023-04-25 18:09:04 +02:00

README.md

plexcryptool

A collection of tools for cryptography uses.

Hybrid Repository

This Repository uses a combination of python and rust code through pyo3 rust bindings. The reason for this is that python is a tool dynamic language, screwing around with datatypes a bit too much for my liking.

Compiling

Parts of the python scripts in this repository use my library plexcryptool, which is implemented in Rust. To compile follow this guide It boils down to the following steps:

  • Install Rust, preferably through rustup, as that is the official Rust distribution. Your package manager might still be fine.
  • Make sure you use the right Python version. I made this with Python 3.11 and PyO3 requires at least Python 3.7
  • Create a virtual environment in the root of the repository. I used python -m venv .venv for this. Activate the venv.
  • Install maturin pip install maturin --user
  • compile the plexcryptool python module using maturin develop -r or maturin build --release
  • install the module with pip: pip install target/wheels/plexcryptool-X.X.X-cp311-cp311-manylinux_2_34_x86_64.whl
  • compile the plexcryptool executable using cargo run --release or install it to your system with cargo install --path .

Thats it!

License

MIT License