pass

package
v0.0.0-...-ef69998 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComparePasswordAndHash

func ComparePasswordAndHash(password, hashedPassword string) error

func ComparePasswordHash

func ComparePasswordHash(passwordHashRPC, passwordHashDB string) bool

func HashH512Password

func HashH512Password(has HashData) string

Types

type HashData

type HashData struct {
	SecretKey string
	Data      string
	NonceHex  string
}

func Decrypt

func Decrypt(data HashData) (*HashData, error)

func Encrypt

func Encrypt(data HashData) (*HashData, error)

Jump to

Keyboard shortcuts

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