pbkdf2_sha256

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2025 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const Algorithm = "pbkdf2_sha256"

Variables

This section is empty.

Functions

func Decode

func Decode(encoded string, Info *Crypto) error

func Encode

func Encode(password string, salt []byte, iterations int) string

Types

type Crypto

type Crypto struct {
	Algorithm  string
	Hash       string
	Iterations int
	Salt       []byte
}

Jump to

Keyboard shortcuts

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