Research Article
An Explainable Password Strength Meter Addon via Textual Pattern Recognition
Input: S:a string. | Output: TRUE or FALSE. | (1) Define a Set D,a bad set T,D = NULL,T = the selected 30 numbers | (2) Define get-day = [31,29(if leap year) 28(else), 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] | (3) if S is not digit then | (4) return FALSE | (5) else if S.length != 6 or 8 or S T then | (6) return FALSE | (7) end if | (8) for ;; do | (9) for ;; do | (10) D.add(year,month,day) | (11) end for | (12) end for | (13) if S D then | (14) return TRUE | (15) else | (16) return FALSE | (17) end if |
|