Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PasswordHasher ¶
type SHA1Hasher ¶
type SHA1Hasher struct {
// contains filtered or unexported fields
}
func NewSHA1Hasher ¶
func NewSHA1Hasher(salt string) *SHA1Hasher
func (*SHA1Hasher) Hash ¶
func (h *SHA1Hasher) Hash(password string) string
Click to show internal directories.
Click to hide internal directories.