passhash

package
v0.0.0-...-ecdd364 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 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.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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