Skip to content

Commit fc78c91

Browse files
authored
md5.py
1 parent 02d0c9f commit fc78c91

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

md5.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
os.system("clear" if os.name == "posix" else "cls")
77
colorama.init(autoreset=True)
88

9-
# Define logo components with enhanced ASCII art
109
logo_color = Fore.LIGHTGREEN_EX
1110
logo_reset = Style.RESET_ALL
1211
logo_body = [
@@ -15,7 +14,6 @@
1514

1615
]
1716

18-
# Build the centered logo
1917
logo = logo_color
2018
for line in logo_body:
2119
stripped_length = len(line)
@@ -28,21 +26,18 @@
2826
logo += centered_line + '\n'
2927
logo += logo_reset
3028

31-
# Developer information
3229
developer_info = f"""{Fore.YELLOW}
3330
Developer : Tausif Zaman
3431
Instagram : @_tausif_zaman
3532
Github : tausifzaman
3633
{Style.RESET_ALL}
3734
"""
3835

39-
# Print elements
4036
print("\n")
4137
print(logo)
4238
print("\n\n")
4339
print(developer_info)
4440

45-
# User interaction
4641
text = input(f"{Fore.CYAN}Enter text: {Style.RESET_ALL}")
4742
md5_hash = hashlib.md5(text.encode()).hexdigest()
4843
print(f"{Fore.GREEN}MD5 Hash: {md5_hash}{Style.RESET_ALL}")

0 commit comments

Comments
 (0)