vibe-d ~master (2022-11-16T10:14:41Z)
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