vibe-d v0.10.1 (2024-09-07T15:50:39Z)
Home
Dub
Repo
validatePassword
index
vibe
utils
validation
Checks a password for minimum complexity requirements
string
validatePassword
(string str, string str_confirm, size_t min_length, size_t max_length)
bool
validatePassword
(R error_sink, string str, string str_confirm, size_t min_length, size_t max_length)
@
safe
bool
validatePassword
(
R
)
(
ref
R
error_sink
,
string
str
,
string
str_confirm
,
size_t
min_length
= 8
,
size_t
max_length
= 64
)
if
(
isOutputRange
!(
R
,
char
)
)
Meta
Source
See Implementation
index
vibe
utils
validation
functions
validateEmail
validateIdent
validatePassword
validateString
validateUserName
Checks a password for minimum complexity requirements