|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.postgresql.util.MD5Digest
public class MD5Digest
Method Summary | |
---|---|
static byte[] |
encode(byte[] user,
byte[] password,
byte[] salt)
Encodes user/password/salt information in the following way: MD5(MD5(password + user) + salt) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |