MD5Password implements the PostgresPassword interface for hashing passwords using the PostgreSQL MD5 method
| 17 | // MD5Password implements the PostgresPassword interface for hashing passwords |
| 18 | // using the PostgreSQL MD5 method |
| 19 | type MD5Password struct { |
| 20 | // password is the plaintext password |
| 21 | password string |
| 22 | // username is the PostgreSQL username |
| 23 | username string |
| 24 | } |
| 25 | |
| 26 | // Build creates the MD5 password format for PostgreSQL which resembles |
| 27 | // "md5" + md5("password" + "username") |
nothing calls this directly
no outgoing calls
no test coverage detected