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 © 1997-2020 PostgreSQL Global Development Group. All Rights Reserved.