MCPcopy
hub / github.com/minio/minio-go / newSHA256Hasher

Function newSHA256Hasher

utils.go:602–604  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

600}
601
602func newSHA256Hasher() md5simd.Hasher {
603 return &hashWrapper{Hash: sha256Pool.Get().(hash.Hash), isSHA256: true}
604}
605
606// hashWrapper implements the md5simd.Hasher interface.
607type hashWrapper struct {

Callers 1

sum256HexFunction · 0.70

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected