Dec-25-2022, 07:23 AM
While running the program it simply gives the output "Killed" why is it and how can I solve this?
I am thinking it is because the rar is password protected?
import hashlib # Open the RAR3 file in binary mode with open('hash.rar', 'rb') as f: # Read the contents of the file into memory file_contents = f.read() # Calculate the hash value of the file using the MD5 algorithm hash_value = hashlib.md5(file_contents).hexdigest() # Print the hash value print(hash_value)
I am thinking it is because the rar is password protected?