Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterHashMethod ¶
func RegisterHashMethod(key string, method hashMethod)
Types ¶
type CommonHash ¶
type CommonHash struct{ HashType string }
func (CommonHash) Name ¶
func (c CommonHash) Name() string
func (CommonHash) OriginalHash ¶
func (c CommonHash) OriginalHash() func() hash.Hash
func (CommonHash) Sum ¶
func (c CommonHash) Sum(data []byte) []byte
func (CommonHash) SumHex ¶
func (c CommonHash) SumHex(data []byte) string
Click to show internal directories.
Click to hide internal directories.