passhash

package
v0.0.0-...-4a47c63 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashBytes

func HashBytes(password []byte) ([]byte, error)

HashBytes returns a hashed byte array and an error

func HashString

func HashString(password string) (string, error)

HashString returns a hashed string and an error

func MatchBytes

func MatchBytes(hash, password []byte) bool

MatchBytes returns true if the hash matches the password

func MatchString

func MatchString(hash, password string) bool

MatchString returns true if the hash matches 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