Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultConfig ¶
DefaultConfig returns the default configuration for Argon2
func NewArgon2Crypto ¶
func NewArgon2Crypto(config *types.Config) (interfaces.Cryptographic, error)
NewArgon2Crypto creates a new Argon2 crypto instance
Types ¶
type Argon2 ¶
type Argon2 struct {
// contains filtered or unexported fields
}
Argon2 implements the Argon2 hashing algorithm
func (*Argon2) HashWithSalt ¶
HashWithSalt implements the hash with salt method
type ConfigValidator ¶
type ConfigValidator struct {
// contains filtered or unexported fields
}
ConfigValidator implements the config validator for Argon2
type Params ¶
Params represents parameters for Argon2 algorithm
func DefaultParams ¶ added in v0.2.14
func DefaultParams() Params
Click to show internal directories.
Click to hide internal directories.