hasher

package
v0.0.0-...-2563dae Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package hasher provides methods to generate hash for the given passwords using a secure hashing algorithm - argon2

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPasswordHash

func CheckPasswordHash(password, hash string) bool

CheckPasswordHash is used to compare hashed password with a plain-text password

func HashPassword

func HashPassword(password string) (string, error)

HashPassword generates a secure Argon2 password hash

Types

This section is empty.

Jump to

Keyboard shortcuts

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