keygen

package
v0.0.0-...-d56d81e Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: 0BSD Imports: 1 Imported by: 0

Documentation

Overview

Package keygen provides a cryptographically secure key derivation function.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(password []byte, keylen uint32, p Params) []byte

Types

type Params

type Params struct {
	Salt    [16]byte
	Time    uint32 // number of passes over memory
	MemKiB  uint32
	Threads uint8
}

Jump to

Keyboard shortcuts

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