Versions in this module Expand all Collapse all v5 v5.2.5 Jul 5, 2022 v5.2.4 Jul 5, 2022 Changes in this version + const ITERATION_MULTIPLIER + const MIXCHARS + const SALT_LENGTH + func CheckScrambledPassword(salt, hpwd, auth []byte) bool + func CheckShaPassword(pwhash []byte, password string) (bool, error) + func DecodePassword(pwd string) ([]byte, error) + func EncodePassword(pwd string) string + func NewSha2Password(pwd string) string + func Sha1Hash(bs []byte) []byte + type RoleIdentity struct + Hostname string + Username string + func (role *RoleIdentity) Restore(ctx *format.RestoreCtx) error + func (role *RoleIdentity) String() string + type UserIdentity struct + AuthHostname string + AuthUsername string + CurrentUser bool + Hostname string + Username string + func (user *UserIdentity) AuthIdentityString() string + func (user *UserIdentity) Restore(ctx *format.RestoreCtx) error + func (user *UserIdentity) String() string Other modules containing this package github.com/simon-root/parser