File size: 317 Bytes
91f7972
 
 
 
 
 
 
58f6308
1
2
3
4
5
6
7
8
9
def is_strong_password(pwd):
    """Check if password meets basic strength criteria."""
    if len(pwd) < 8:
        return False
    has_upper = any(c.isupper() for c in pwd)
    has_lower = any(c.islower() for c in pwd)
    has_digit = any(c.isdigit() for c in pwd)
    return has_upper and has_lower and has_digit