encrypter

package
v0.0.1-0...-567e2ed Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Encrypter

type Encrypter struct {
}

Encrypter handles password encryption & validation

func (Encrypter) HashedPassword

func (c Encrypter) HashedPassword(password vos.Password) (vos.HashedPassword, error)

HashedPassword hashes a password

func (Encrypter) PasswordMathces

func (c Encrypter) PasswordMathces(password vos.Password, hashedPassword vos.HashedPassword) bool

PasswordMathces validate if plain password matchs hashed password

Jump to

Keyboard shortcuts

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