Documentation ¶
Overview ¶
Package md5crypt provides functions to generate and validate {MD5-CRYPT} styled password schemes. The method used is compatible with libc crypt used in /etc/shadow
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotMatching = errors.New("hash does not match password")
ErrNotMatching occurs when the given password and hash do not match
View Source
var ErrNotMd5cryptPassword = errors.New("string is not a MD5-CRYPT password")
ErrNotMd5cryptPassword occurs when Validate receives a non-SSHA hash
View Source
var ErrSaltLengthInCorrect = errors.New("salt length incorrect")
ErrSaltLengthInCorrect occurs when the given salt is not of the correct length
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.