Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
hmacSha函数主要是用来将指定字符串或 bytes 进行 hmac_sha 系列计算
hmacSha
func hmacSha(v1 string/bytes, s1 string, s2 string)string
admin
123
sha1
hmacSha("admin","123","sha1")
626db268028b3256e6fbcc90ea6214f2435f7d5d
sha224
hmacSha(b"admin","123","sha224")
e5766f1372cc989ee270f7bc04a6f8366360f9a7d0b74b899d396d1e
sha256
sha384
sha512
Was this page helpful?