Versions in this module Expand all Collapse all v0 v0.0.1 Apr 6, 2022 Changes in this version + type Hasher interface + Hash func(str string) (string, error) + func NewHasher(hasherName string) (Hasher, error) + type SHA1 struct + func NewSHA1() *SHA1 + func (s *SHA1) Hash(str string) (string, error) + type SHA256 struct + func NewSHA256() *SHA256 + func (s *SHA256) Hash(str string) (string, error) + type SHA512 struct + func NewSHA512() *SHA512 + func (s *SHA512) Hash(str string) (string, error)