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 NewSha224Crypto(config *types.Config) (interfaces.Cryptographic, error)
- func NewSha256Crypto(config *types.Config) (interfaces.Cryptographic, error)
- func NewSha3224(config *types.Config) (interfaces.Cryptographic, error)
- func NewSha3256(config *types.Config) (interfaces.Cryptographic, error)
- func NewSha3512(config *types.Config) (interfaces.Cryptographic, error)
- func NewSha3512224(config *types.Config) (interfaces.Cryptographic, error)
- func NewSha3512256(config *types.Config) (interfaces.Cryptographic, error)
- func NewSha384Crypto(config *types.Config) (interfaces.Cryptographic, error)
- func NewSha512Crypto(config *types.Config) (interfaces.Cryptographic, error)
- func NewTypeSha3512(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 NewSha224Crypto ¶ added in v0.3.3
func NewSha224Crypto(config *types.Config) (interfaces.Cryptographic, error)
func NewSha256Crypto ¶
func NewSha256Crypto(config *types.Config) (interfaces.Cryptographic, error)
func NewSha3224 ¶ added in v0.3.3
func NewSha3224(config *types.Config) (interfaces.Cryptographic, error)
func NewSha3256 ¶ added in v0.3.3
func NewSha3256(config *types.Config) (interfaces.Cryptographic, error)
func NewSha3512 ¶ added in v0.3.3
func NewSha3512(config *types.Config) (interfaces.Cryptographic, error)
func NewSha3512224 ¶ added in v0.3.3
func NewSha3512224(config *types.Config) (interfaces.Cryptographic, error)
func NewSha3512256 ¶ added in v0.3.3
func NewSha3512256(config *types.Config) (interfaces.Cryptographic, error)
func NewSha384Crypto ¶ added in v0.3.3
func NewSha384Crypto(config *types.Config) (interfaces.Cryptographic, error)
func NewSha512Crypto ¶
func NewSha512Crypto(config *types.Config) (interfaces.Cryptographic, error)
func NewTypeSha3512 ¶ added in v0.3.3
func NewTypeSha3512(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.