argon2crypto

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package argon2crypto provides low-level access to Argon2 cryptography functions.

Index

Constants

View Source
const (
	Argon2d = iota
	Argon2i
	Argon2id
)
View Source
const (
	Version10 = 0x10
	Version13 = 0x13
)

Variables

This section is empty.

Functions

func Key

func Key(mode, version int, password, salt []byte, time, memory uint32, threads uint8, keyLen uint32) []byte

Key derives a key from the password, salt, and cost parameters using Argon2* returning a byte slice of length keyLen that can be used as cryptographic key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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