Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ password_validation
Function
password_validation
cli_master/validation_page.py:32–34 ·
view source on GitHub ↗
(password)
Source
from the content-addressed store, hash-verified
30
31
32
def
password_validation(password):
33
# Password must be at least 8 characters long and contain at least one digit
34
return
len(password) >= 8 and any(char.isdigit()
for
char in password)
35
36
37
# Example usage:
Callers
1
validation_page.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected