Password Hash
import hashlib
# String to hash
password = "password"
# Calculate MD5 hash
md5_hash = hashlib.md5(password.encode()).hexdigest()
print("MD5 hash of 'password':", md5_hash)
MD5 hash of 'password': 5f4dcc3b5aa765d61d8327deb882cf99
How to get md5 hash of any encrypted file?
md5sum Encrypt.zip > Encrypt.hash
Then cracking using john or hydra
$john Encrypt.hash
How to identify the hash alogrithm?
Use a tool called hash-identifier to know which algorithm hash is used.
Comments
Post a Comment