Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashAlgorithm ¶
type HashAlgorithm string
const ( HashAlgorithmSHA256 HashAlgorithm = "sha256" HashAlgorithmSHA1 HashAlgorithm = "sha1" HashAlgorithmMD5 HashAlgorithm = "md5" )
func (HashAlgorithm) FromString ¶
func (ha HashAlgorithm) FromString(s string) (*Hash, error)
func (HashAlgorithm) NewHasher ¶
func (ha HashAlgorithm) NewHasher() hash.Hash
Click to show internal directories.
Click to hide internal directories.