passwords

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2021 License: BSD-3-Clause Imports: 6 Imported by: 5

Documentation

Overview

Package passwords provides password utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Password

type Password string

Password is a one-way encryption of a password.

func New

func New(password string) Password

New creates a new Password from a plain text password.

func (Password) Verify

func (p Password) Verify(password string) bool

Verify returns true if the provided plain text password matches this instance.

Jump to

Keyboard shortcuts

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