Created
May 12, 2023 12:41
-
-
Save ajtazer/78fbdf8594bdf87d08581187c17779e8 to your computer and use it in GitHub Desktop.
Solution Script for https://evilzone.org/challenges/fast_hasher/
This file contains hidden or 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
import hashlib | |
import time | |
# Get 100 input strings | |
inputs = [] | |
print("Enter 100 input strings:") | |
for i in range(100): | |
inputs.append(input()) | |
# Hash each input using MD5 and concatenate the results | |
concatenated = "" | |
for s in inputs: | |
hashed = hashlib.md5(s.encode()).hexdigest() | |
concatenated += hashed | |
# Hash the concatenated string using MD5 | |
final_hash = hashlib.md5(concatenated.encode()).hexdigest() | |
print("Final Hash: ", final_hash) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment