ITSECURITYCOMPUTER Telegram 26270
🔑 ساخت پسورد فوق‌امن با پایتون ⌨️
این کد یه رمز کاملاً رندوم و غیرقابل حدس می‌سازه که حتماً شامل:
😎 یه حرف بزرگ
😎 یه حرف کوچیک
😎 یه عدد
😎 یه سمبل خاص

📌 از این می‌تونی برای حساب‌های مهم یا حتی پروژه‌های امنیتی استفاده کنی.
👈 پیشنهاد: طول رو بذار 24 یا 32 تا فوق‌العاده امن بشه.

import secrets, string

def strong_password(length=16):
if length < 4:
raise ValueError("Password length must be at least 4")

# گروه‌های کاراکترها
upper = secrets.choice(string.ascii_uppercase)
lower = secrets.choice(string.ascii_lowercase)
digit = secrets.choice(string.digits)
symbol = secrets.choice("!@#$%^&*_-")

# بقیه‌ی کاراکترها رندوم
alphabet = string.ascii_letters + string.digits + "!@#$%^&*_-"
rest = [secrets.choice(alphabet) for _ in range(length - 4)]

# ترکیب و شافل
pwd_list = list(upper + lower + digit + symbol + ''.join(rest))
secrets.SystemRandom().shuffle(pwd_list)
return ''.join(pwd_list)

print(strong_password(16))

✈️@ITSecurityComputer
Please open Telegram to view this post
VIEW IN TELEGRAM
26❤‍🔥7👍4



tgoop.com/ITSecurityComputer/26270
Create:
Last Update:

🔑 ساخت پسورد فوق‌امن با پایتون ⌨️
این کد یه رمز کاملاً رندوم و غیرقابل حدس می‌سازه که حتماً شامل:
😎 یه حرف بزرگ
😎 یه حرف کوچیک
😎 یه عدد
😎 یه سمبل خاص

📌 از این می‌تونی برای حساب‌های مهم یا حتی پروژه‌های امنیتی استفاده کنی.
👈 پیشنهاد: طول رو بذار 24 یا 32 تا فوق‌العاده امن بشه.

import secrets, string

def strong_password(length=16):
if length < 4:
raise ValueError("Password length must be at least 4")

# گروه‌های کاراکترها
upper = secrets.choice(string.ascii_uppercase)
lower = secrets.choice(string.ascii_lowercase)
digit = secrets.choice(string.digits)
symbol = secrets.choice("!@#$%^&*_-")

# بقیه‌ی کاراکترها رندوم
alphabet = string.ascii_letters + string.digits + "!@#$%^&*_-"
rest = [secrets.choice(alphabet) for _ in range(length - 4)]

# ترکیب و شافل
pwd_list = list(upper + lower + digit + symbol + ''.join(rest))
secrets.SystemRandom().shuffle(pwd_list)
return ''.join(pwd_list)

print(strong_password(16))

✈️@ITSecurityComputer

BY SecurityComputer




Share with your friend now:
tgoop.com/ITSecurityComputer/26270

View MORE
Open in Telegram


Telegram News

Date: |

Healing through screaming therapy Channel login must contain 5-32 characters The Standard Channel Select: Settings – Manage Channel – Administrators – Add administrator. From your list of subscribers, select the correct user. A new window will appear on the screen. Check the rights you’re willing to give to your administrator. So far, more than a dozen different members have contributed to the group, posting voice notes of themselves screaming, yelling, groaning, and wailing in various pitches and rhythms.
from us


Telegram SecurityComputer
FROM American