public class MD5Authentication extends Object
| Constructor and Description |
|---|
MD5Authentication() |
| Modifier and Type | Method and Description |
|---|---|
static String |
encode(String password,
String user,
byte[] salt)
Generates an authentication token compatible with PostgreSQL's
MD5 scheme
|
public static String encode(String password, String user, byte[] salt)
password - Password to generate token fromuser - Username to generate token fromsalt - Salt to generate token from