Documentation
¶
Overview ¶
Package sha implements the functions, types, and interfaces for the module.
Index ¶
- func DefaultConfig() *types.Config
- func NewSHA(algSpec types.Spec, config *types.Config) (scheme.Scheme, error)
- func NewSha1(config *types.Config) (scheme.Scheme, error)
- func NewSha224(config *types.Config) (scheme.Scheme, error)
- func NewSha256(config *types.Config) (scheme.Scheme, error)
- func NewSha3224(config *types.Config) (scheme.Scheme, error)
- func NewSha3256(config *types.Config) (scheme.Scheme, error)
- func NewSha3384(config *types.Config) (scheme.Scheme, error)
- func NewSha3512(config *types.Config) (scheme.Scheme, error)
- func NewSha3512224(config *types.Config) (scheme.Scheme, error)
- func NewSha3512256(config *types.Config) (scheme.Scheme, error)
- func NewSha384(config *types.Config) (scheme.Scheme, error)
- func NewSha512(config *types.Config) (scheme.Scheme, error)
- func ResolveSpec(algSpec types.Spec) (types.Spec, error)
- type Params
- type SHA
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultConfig ¶
Types ¶
type Params ¶ added in v0.3.18
type Params struct {
}
Params represents parameters for SHA algorithms
func DefaultParams ¶ added in v0.3.18
func DefaultParams() *Params
func FromParams ¶ added in v0.3.18
FromParams parses Scrypt parameters from a map[string]string.
Click to show internal directories.
Click to hide internal directories.