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{}
ConfigValidator implements the config validator for Argon2
Click to show internal directories.
Click to hide internal directories.