Selection of part of the password by passing the mask and Sha-256
📁 python, ии
I have a piece of password *ELP ** (instead of stars there should be the characters that need to be selected), but I know from it sha256 hash:
IMPORT hashlibmas = [, , , " "d" , "" e "" , , " g "" , "h" ", "" i "" , , " k "" , "" l "" , "" m "" , , " o "" , "p" ", "q" ", , "s" ", " "t" ", "" u "" , , " w "" , "x" ", "y" ", , "" a "" , , "" C ", , , "f" ", "g" ", , , "j" ", "" k "" , , " m "" , "" n "" , "o" ", , , "r" ", "s" ", , "u" ", " "v" ", "" w "" , , , "z" ", "" 1 "" , , , " "" "4" ", "" 5 "" , , " "7" ", " "8" ", "" 9 "" , "" 0 "" ] a = b'hello ' shlib.sha256 (a) .hexdigest () Print (Sha)