Python library for demonstrating the functionality of common cryptographic algorithms.
Python 3.7.9 or later.
venv
allows you to manage separate package installations for different projects. It essentially allows you to create
a "virtual" isolated Python installation and install packages into that virtual installation. When you switch projects,
you can simply create a new virtual environment and not have to worry about breaking the packages installed in the other
environments.
python3 -m venv venv
The second argument is the location, and thus the name, to create the virtual environment. Generally, you can just create this in your project and call it venv. If you name the virtual environment differently, the .gitignore must be modified accordingly.
Before you can start installing or using packages in your virtual environment you’ll need to activate it.
Command-line | Script |
---|---|
bash/zsh | $ source <venv>/bin/activate |
fish | $ source <venv>/bin/activate.fish |
csh/tcsh | $ source <venv>/bin/activate.csh |
PowerShell Core | $ <venv>/bin/Activate.ps1 |
cmd.exe | C:\> <venv>\Scripts\activate.bat |
PowerShell | PS C:\> <venv>\Scripts\Activate.ps1 |
A requirements file contains a list of dependencies to be installed using pip.
python3 -m pip install -r requirements.txt
To use, simply uncomment the corresponding function in main.py
and adjust the sample values if necessary.
python3 main.py
- Unify output of mathematical conditions
- Add an English translation