auth

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package auth provides password hashing and verification utilities using the argon2id algorithm for secure credential storage.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPassword

func CheckPassword(password, encodedHash string) (bool, error)

CheckPassword verifies a password against an Argon2id hash.

func HashPassword

func HashPassword(password string) (string, error)

HashPassword creates an Argon2id hash of 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