Versions in this module Expand all Collapse all v1 v1.10.0 Jan 19, 2024 Changes in this version + const ALL_DIGITS + const ALL_LETTERS + const ALL_PUNC + const ALL_UPPERS + const UPPERS + var CHARS2 = fmt.Sprintf("%s%s%s%s", DIGITS, LETTERS, UPPERS, PUNC) + var WEAK_PASSWORDS []string = []string + func CleanCertificate(cert string) string + func DecodePrivateKey(keyString []byte) (*rsa.PrivateKey, error) + func GeneratePassword(passwd string) (string, error) + func MeetComplxity(passwd string) bool + func RandomPassword2(width int) string + type PasswordStrength struct + Digits int + Invalid []byte + Lowercases int + Punctuats int + Uppercases int + func AnalyzePasswordStrenth(passwd string) PasswordStrength + func (ps PasswordStrength) Len() int + func (ps PasswordStrength) MeetComplexity() bool v1.0.0 Apr 13, 2022 Changes in this version + const DIGITS + const LETTERS + const PUNC + var CHARS = fmt.Sprintf("%s%s%s%s", DIGITS, LETTERS, strings.ToUpper(LETTERS), PUNC) + func RandomPassword(width int) string