| 146 | } |
| 147 | |
| 148 | type 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 |
| 154 | func GeneratePasswordHash(password string) (*PasswordData, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected