Question: Please finish this task and give the code for part 2 . py . Include screenshots too to understand better. There should be 2 other
Please finish this task and give the code for partpy Include screenshots too to understand better. There should be other files which are passwordhashtxt contains the password hash list
passwords.txt contains the list of common and leaked passwords from the sources Part II: Breaking Password Hashes. Below, you are given a list of hashed passwords one password per line The plain
text versions of these hash values are either drawn from the English dictionary or are
among the most popular passwords revealed through data breaches over the years
List of the most common passwords. Im not giving any website link since chegg flags itBut you can look like it on wikipedia
To generate the hash values, the hashlib module in Python was used.
The hashlib module provides hash functions such as md sha sha shaetc.
The hash values are generated using a layer of hashing functions as follows: given the
plaintext password lets call it myPassword the final hash value ie what you see in
the hash list below is computed as: hhhhhhmyPassword
where each distinct hi comes from the set md sha sha sha sha
sha Note also that the hash values you see below are obtained after
applying hexdigest on the output of each hi See the example below as to
how hexdiget is used:
import hashlib
def mdhashsecret:
return hashlib.mdplaintexthexdigest
Password Hash list:
aabeeaccbcbfcaedf
decddcafdacaadfdde
aabdeccdceeffdcaaaef
cdedccbdffcbdddddcddd
dbaefcdacafcdaeefdb
cbbfcbeeddedefacedcfdaf
bfaafeafcedfeaeadaafefede
eeafefbcbdcbcffbcbeb
fedeeeecccbbbdefeaead
afddefcdcaecbbeaeaaf
bbbdceafcdbaaefb
eecfddababadddabbafaa
cecbacfceabfccdaeddbabdd
addebbbecdbafceacfbac
bbbbcffddccecbccfefeaafadf
afdbddccfdfaedcda
cdbeeddfcbabbbcdeecbdd
aeffbbcfcdadabbd
cbfdaebcbdcaaacacfcc
cfafbcdedeadbdbcdaeddbbbe
eacfbeeabbfebbbedcadffdcb
eceefeaebafceedabffb
bdbbefcdafcaaeccdedbfef
ffecbebafabeeffdacbcbebfdbcc
fbacbfcedccaabfcfdbaaadfdc
cdffcaeaadedececdbcacdbfdf
afbedaefcaabacabcdfc
dabcfbdcddabcfbeabcec
cdaeacafbdbfcddaaed
fbcbcecefcea
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
