package
0.2.18
Repository: https://github.com/go-crypt/x.git
Documentation: pkg.go.dev

# README

# Functions

DKey derives a key from the password, salt, and cost parameters using Argon2d returning a byte slice of length keyLen that can be used as cryptographic key.
IDKey derives a key from the password, salt, and cost parameters using Argon2id returning a byte slice of length keyLen that can be used as cryptographic key.
IKey derives a key from the password, salt, and cost parameters using Argon2i returning a byte slice of length keyLen that can be used as cryptographic key.

# Constants

Version is the Argon2 version implemented by this package.

# Type aliases

KeyFunc represents the functions which can derive keys.