Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultConfig ¶ added in v0.0.21
func NewMD5Crypto ¶
func NewMD5Crypto(config *types.Config) (interfaces.Cryptographic, error)
NewMD5Crypto creates a new MD5 crypto instance
Types ¶
type ConfigValidator ¶
type ConfigValidator struct {
SaltLength int
}
func (ConfigValidator) Validate ¶
func (v ConfigValidator) Validate(config *types.Config) interface{}
Click to show internal directories.
Click to hide internal directories.