MCPcopy Create free account
hub / github.com/blastrain/vitess-sqlparser / Sha1Hash

Function Sha1Hash

tidbparser/dependency/util/auth/auth.go:69–74  ·  view source on GitHub ↗

Sha1Hash is an util function to calculate sha1 hash.

(bs []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

CheckScrambledPasswordFunction · 0.85
EncodePasswordFunction · 0.85

Calls 3

LogFunction · 0.92
NewMethod · 0.80
WriteMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…