Documentation
¶
Index ¶
- func FileHash(p string) ([]byte, error)
- func HASH(text string, myhash crypto.Hash, isHex bool) string
- func Hash(text string, hashType string, isHex bool) string
- func MD4HexString(text string) string
- func MD4String(text string) string
- func PathFileHash(path string) ([]byte, error)
- func SHA256Double(text string, isHex bool) []byte
- func SHA256DoubleString(text string, isHex bool) string
- type PathsOrder
- type Program
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PathFileHash ¶
func SHA256Double ¶
两次哈希256后的字节数组,第二次是将第一次哈希后的16进制进行哈希
func SHA256DoubleString ¶
两次哈希256后的哈希字符串,第二次是将第一次哈希后的16进制进行哈希
Types ¶
type PathsOrder ¶
func (*PathsOrder) Len ¶
func (ns *PathsOrder) Len() int
func (*PathsOrder) Less ¶
func (ns *PathsOrder) Less(i, j int) bool
func (*PathsOrder) Swap ¶
func (ns *PathsOrder) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.