MCPcopy Create free account
hub / github.com/XTLS/Go / ConstantTimeSum

Method ConstantTimeSum

cipher_suites.go:556–556  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

554type constantTimeHash interface {
555 hash.Hash
556 ConstantTimeSum(b []byte) []byte
557}
558
559// cthWrapper wraps any hash.Hash that implements ConstantTimeSum, and replaces

Callers 1

SumMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected