Skip to content

marcelaobeso/cryptography

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chryptography

Setup — create a Python virtual environment and install dependencies

  1. From the project root, check your Python version:
python3 --version
  1. Create a virtual environment (use .venv or a name you prefer):
python3 -m venv .venv
  1. Activate the virtual environment:
  • macOS / Linux:
source .venv/bin/activate
  • Windows PowerShell:
.venv\Scripts\Activate.ps1
  • Windows Command Prompt:
.venv\Scripts\activate.bat
  1. Upgrade pip and install project requirements:
python -m pip install --upgrade pip
pip install -r requirements.txt
  1. (Optional) If you add or change dependencies, update requirements.txt:
pip freeze > requirements.txt
  1. When finished, deactivate the venv:
deactivate

How to run Hash or Encryption files:

run the following command for hash:

  1. You need to move to the modules directory:
cd modules
  1. Form the modules directory you now can run:
python hash.py

or

python encryption.py

The files used for this example are located on the sample_files directoy

About

hash and encrypt-decrypt examples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages