Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateSecurePassword ¶
func GenerateSecurePassword(length int, includeUpper, includeLower, includeDigits, includeSymbols bool) (string, error)
GenerateSecurePassword 生成高强度随机密码 length: 密码长度(建议 >= 12) includeUpper: 是否包含大写字母 includeLower: 是否包含小写字母 includeDigits: 是否包含数字 includeSymbols: 是否包含特殊符号
func GenerateStrongPassword ¶
GenerateStrongPassword 生成高强度密码(12位,含大小写+数字+符号)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.