MCPcopy Create free account
hub / github.com/corestoreio/pkg / ConstantTimeCompare

Method ConstantTimeCompare

config/value.go:610–612  ·  view source on GitHub ↗

ConstantTimeCompare compares in a constant time manner data with the underlying value retrieved from the config service. Useful for passwords and other hashes.

(data []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

TestValueFunction · 0.95
WithBasicAuthFunction · 0.80
EqualMethod · 0.80
EqualPairsMethod · 0.80
EqualReaderMethod · 0.80
verifyConstantTimeFunction · 0.80
IsEqualMethod · 0.80

Implementers 15

Storestore/entities_gen.go
Storesstore/entities_gen.go
StoreGroupstore/entities_gen.go
StoreGroupsstore/entities_gen.go
StoreWebsitestore/entities_gen.go
StoreWebsitesstore/entities_gen.go
ProtoIsAllowedStoreIDRequeststore/service.pb.go
ProtoRunModeRequeststore/service.pb.go
ProtoIDRequeststore/service.pb.go
ProtoStoreIDbyCodeRequeststore/service.pb.go

Calls

no outgoing calls

Tested by 1

TestValueFunction · 0.76