MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / Validate

Method Validate

pkg/auth/password.go:36–36  ·  view source on GitHub ↗

Validate checks whether the given plain text secret is equal or not to the given hashed secret.

(hashed, plain string)

Source from the content-addressed store, hash-verified

34 // Validate checks whether the given plain text secret is equal or not to
35 // the given hashed secret.
36 Validate(hashed, plain string) (bool, error)
37}
38
39// defaultHashValidator is the default method for hashing and validating secrets.

Callers 15

ValidateFunction · 0.65
ToStatusMethod · 0.65
handleMethod · 0.65
SetMethod · 0.65
TestNetErrorsFunction · 0.65
VerifyFunction · 0.65
getByIDMethod · 0.65
GetRouterConfigFunction · 0.65
validateMessageFunction · 0.65
end_devices.goFile · 0.65

Implementers 1

PBKDF2pkg/auth/pbkdf2/pbkdf2.go

Calls

no outgoing calls

Tested by 1

TestNetErrorsFunction · 0.52