Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCompareFailed = errors.New("verify compare failed")
ErrCompareFailed compare failed
Functions ¶
This section is empty.
Types ¶
type BCrypt ¶
type BCrypt struct {
// contains filtered or unexported fields
}
BCrypt bcrypt password encryption
func NewBCrypt ¶
NewBCrypt new bcrypt password encryption with key,if key empty use defaultPrivateKey.
Click to show internal directories.
Click to hide internal directories.