public class MD5Digest extends Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
encode(byte[] user,
byte[] password,
byte[] salt)
Encodes user/password/salt information in the following way: MD5(MD5(password + user) + salt)
|
public static byte[] encode(byte[] user,
byte[] password,
byte[] salt)
user - The connecting user.password - The connecting user's password.salt - A four-salt sent by the server.Copyright © 2017 PostgreSQL Global Development Group. All rights reserved.