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

Method Hash

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

Hash hashes the given plain text secret.

(plain string)

Source from the content-addressed store, hash-verified

30
31 // Hash hashes the given plain text secret.
32 Hash(plain string) (string, error)
33
34 // Validate checks whether the given plain text secret is equal or not to
35 // the given hashed secret.

Callers 1

HashFunction · 0.65

Implementers 1

PBKDF2pkg/auth/pbkdf2/pbkdf2.go

Calls

no outgoing calls

Tested by

no test coverage detected