Skip to content

Home > sic-util > author_passwordCheck

author_passwordCheck() function

计算密码强度,返回等级

Signature:

typescript
author_passwordCheck: (str: string) => number

Parameters

Parameter

Type

Description

str

string

当前密码

**Returns:**

number

{number} 强度等级

Released under the MIT License.