Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
pytest | ||
bcrypt |