passpkg

package
v0.0.0-...-e6e2e8d Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package passpkg helps hash and verify passwords.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(password string, hashedPassword string) error

Check checks if the provided password is correct or not.

func Hash

func Hash(password string) (string, error)

Hash returns the bcrypt of the password.

Types

This section is empty.

Jump to

Keyboard shortcuts

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