cred

package
v2.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnauthorized = errors.New("unauthorized")

Functions

func VerifyPassword

func VerifyPassword(hash, password string) error

VerifyPassword verifies a password against a stored hash Supported formats: apr1 crypt, md5 crypt, bcrypt, sha-256 crypt, sha-512 crypt

Types

This section is empty.

Jump to

Keyboard shortcuts

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