CaddyModule returns the Caddy module information.
()
| 41 | |
| 42 | // CaddyModule returns the Caddy module information. |
| 43 | func (BcryptHash) CaddyModule() caddy.ModuleInfo { |
| 44 | return caddy.ModuleInfo{ |
| 45 | ID: "http.authentication.hashes.bcrypt", |
| 46 | New: func() caddy.Module { return new(BcryptHash) }, |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | // Compare compares passwords. |
| 51 | func (BcryptHash) Compare(hashed, plaintext []byte) (bool, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected