import hashlib
def crack_md5(hash):
"""
يقوم بفك تشفير سلسلة مشفرة باستخدام خوارزمية MD5.
Args:
hash: السلسلة المشفرة.
Returns:
السلسلة الأصلية إذا تم العثور عليها، أو `None` إذا لم يتم العثور عليها.
"""
for i in range(2**32):
key = str(i).zfill(8)
hashed = hashlib.md5(key.encode()).hexdigest()
if hashed == hash:
return key
return None
hash = "5e9baa2b-45b4-401e-a3d3-2f4c4d60d485"
key = crack_md5(hash)
if key is not None:
print(f"تم فك تشفير السلسلة: {key}")
else:
print("فشل فك التشفير")
Showing posts with the label Gastrointestinal Health