vibe-d v0.9.5-beta.1 (2022-05-13T15:16:55Z)
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