password

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

A small package for generating password hashes and checking if a plaintext password matches a given password hash. Based on werkzeug from Python with Go code modified from saggit/main.go on GitHub Gist: https://gist.github.com/saggit/19c4404e9a20d54fdcf1

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPasswordHash

func CheckPasswordHash(password string, hash string) bool

func GeneratePasswordHash

func GeneratePasswordHash(password string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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