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

Method IsEqual

config/value.go:539–542  ·  view source on GitHub ↗

IsEqual does a constant time comparison of the underlying data with the input data `d`. Useful for passwords. Only equal when no error occurs.

(d []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestValueFunction · 0.95

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 2

initMethod · 0.95
ConstantTimeCompareMethod · 0.80

Tested by 1

TestValueFunction · 0.76