From ff23d72f3029ff62a6ff146bd08f1d3b1917f50b Mon Sep 17 00:00:00 2001 From: Dan Goldsmith Date: Fri, 15 Oct 2021 10:08:00 +0100 Subject: [PATCH] Readme and Requirements for hashcraker added --- HashCracker/README.md | 51 ++++++++++++++++++++++++++++++++++++ HashCracker/REQUIREMENTS.txt | 2 ++ 2 files changed, 53 insertions(+) create mode 100644 HashCracker/README.md create mode 100644 HashCracker/REQUIREMENTS.txt diff --git a/HashCracker/README.md b/HashCracker/README.md new file mode 100644 index 0000000..c74e1f3 --- /dev/null +++ b/HashCracker/README.md @@ -0,0 +1,51 @@ +# Hashcracking Code + +"Solutions" for the hash cracking tasks. +Implemented as Unit-tests + +## Instlling + +YOu need to install some libraies, I would recommend using a virtual env + +### Setup Env + +(You only need to do this once + +``` +$python3 -m venv env +``` + +### Activate + +On Linux + +``` +source env/scripts/activate +``` + +On Windows + +``` +env\scripts\activate.bat + +#Or + +env\scripts\activate.ps1 +``` + +### Install Dependencies + +``` +pip insall -r REQUIREMENTS.txt +``` + +NOTE: Depending on your python version bcrypt can be insteresting to install + + - update pip ```pip install --upgrade pip``` + - RFTM (https://pypi.org/project/bcrypt/) + +## Running the tests + +``` +pytest -v +``` diff --git a/HashCracker/REQUIREMENTS.txt b/HashCracker/REQUIREMENTS.txt new file mode 100644 index 0000000..59023c7 --- /dev/null +++ b/HashCracker/REQUIREMENTS.txt @@ -0,0 +1,2 @@ +pytest +bcrypt