Encrypt & decrypt string using cryptography.io
CLI app included in distribution folder (dist/py-cryptography-cli.exe)
- Help
py py-cryptography-cli -h
- Encrypt text/string
py py-cryptography-cli "Hello Python, this is Py Cryptography CLI App"
- Decrypt token
py py-cryptography-cli "<TOKEN>" -k "<KEY>"
- Creating a virtual environment
py -m venv venv
- Activate the environment
.\venv\Scripts\activate
- Install all of the packages using requirements.txt
pip install -r requirements.txt
- Run cli application
py py-cryptography-cli.py -h
- Build cli output (more refer to : https://pyinstaller.org/en/stable/usage.html)
pyinstaller py-cryptography-cli.spec
- Export a list of all installed packages (Optional)
pip freeze > requirements.txt
- Leaving the environment
deactivate