Documentation
¶
Index ¶
- func DefaultConfig() *types.Config
- func NewSHACrypto(hashType types.Type, config *types.Config) (interfaces.Cryptographic, error)
- func NewSha1Crypto(config *types.Config) (interfaces.Cryptographic, error)
- func NewSha256Crypto(config *types.Config) (interfaces.Cryptographic, error)
- func NewSha512Crypto(config *types.Config) (interfaces.Cryptographic, error)
- type ConfigValidator
- type SHA
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultConfig ¶
func NewSHACrypto ¶
func NewSHACrypto(hashType types.Type, config *types.Config) (interfaces.Cryptographic, error)
NewSHACrypto creates a new SHA crypto instance
func NewSha1Crypto ¶
func NewSha1Crypto(config *types.Config) (interfaces.Cryptographic, error)
func NewSha256Crypto ¶
func NewSha256Crypto(config *types.Config) (interfaces.Cryptographic, error)
func NewSha512Crypto ¶
func NewSha512Crypto(config *types.Config) (interfaces.Cryptographic, error)
Types ¶
type ConfigValidator ¶
type ConfigValidator struct {
}
func (ConfigValidator) Validate ¶
func (v ConfigValidator) Validate(config *types.Config) interface{}
Click to show internal directories.
Click to hide internal directories.