password

package
v0.0.0-...-748f5db Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2017 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	HashPassword(password string) (string, error)
	GenerateRandomPassword() (string, error)
	ValidatePassword(password, hashedPassword string) bool
}

func NewBcryptManager

func NewBcryptManager(config config.PasswordConfigProvider) Manager

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL