pbkdf2

package
v0.0.0-...-f5a239e Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2026 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg Config) (*pbkdf, error)

func VerifyEncodedHash

func VerifyEncodedHash(password string, hashParts []string) (bool, error)

Types

type Config

type Config struct {
	Function   string `koanf:"function"`
	Iterations int    `koanf:"iterations"`
	Salt       uint32 `koanf:"salt"`
	Key        int    `koanf:"key"`
}

Jump to

Keyboard shortcuts

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