Documentation ¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Md5By16 ¶
Md5By16 16位md5
Example ¶
16位 md5
s := "hello" ret := Md5By16(s) fmt.Println(ret)
Output: bc4b2a76b9719d91
func Md5By32 ¶
Md5By32 32位md5
Example ¶
32位md5
s := "hello" ret := Md5By32(s) fmt.Println(ret)
Output: 5d41402abc4b2a76b9719d911017c592
func Sha1 ¶
Sha1 sha1
Example ¶
sha1
s := "hello" ret := Sha1(s) fmt.Println(ret)
Output: aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.