Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 227 Bytes

index.md

File metadata and controls

15 lines (12 loc) · 227 Bytes

gsha1

SHA1算法。

使用方式:

import "gitee.com/johng/gf/g/crypto/gsha1"

方法列表:

func Encrypt(v interface{}) string
func EncryptFile(path string) string
func EncryptString(s string) string