dpass

package
v1.4.6 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2024 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeriveKey

func DeriveKey(password []byte) []byte

DeriveKey derives a key from the password using Argon2id key derivation function. The salt, cost parameters and length of key are hardcoded, don't modify them!!!!!!

func ReadPassword

func ReadPassword(prompt string) (password []byte, err error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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