password

package
v0.0.0-...-5eda4f8 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package password provides functions for creating and using the hashed password file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPassword

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

CheckPassword checks if the provided password matches the hash stored in the password file.

func HashAndStorePassword

func HashAndStorePassword(password, path string) error

HashAndStorePassword hashes the password and stores it in the data directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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