Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHashAlgorithm ¶
func NewHashAlgorithm(conf *api.Config) (api.HashingAlgorithm, error)
NewHashAlgorithm returns a api.HashingAlgorithm instance based on a given configuration.
Types ¶
type HashAlgorithm ¶
type HashAlgorithm struct { Name string Fn api.HashingAlgorithm Spec api.HashingSpec }
HashAlgorithm provides a generic interface to instantiate hash algorithm implementations
Click to show internal directories.
Click to hide internal directories.