MCPcopy Create free account
hub / github.com/Preloading/TwitterAPIBridge / PasswordData

Struct PasswordData

cryption/authcrypt.go:148–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148type PasswordData struct {
149 Hash string
150 Salt string
151}
152
153// GeneratePasswordHash generates a secure hash of the password using bcrypt, returns hash and salt
154func GeneratePasswordHash(password string) (*PasswordData, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected