| Modifier and Type | Field and Description |
|---|---|
| private static final byte[] |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static byte[] | Returns: A 35-byte array, comprising the string "md5" and an MD5 digest.The connecting user. user, byte[] The connecting user's password. password, byte[] A four-salt sent by the server. salt)Encodes user/password/salt information in the following way: MD5(MD5(password + user) + salt). |
| HEX_BYTES | back to summary |
|---|---|
| private static final byte[] HEX_BYTES | |
| MD5Digest | back to summary |
|---|---|
| private MD5Digest() | |
| bytesToHex | back to summary |
|---|---|
| public static void bytesToHex(byte[] bytes, byte[] hex, int offset) | |
| encode | back to summary |
|---|---|
| public static byte[] encode(byte[] user, byte[] password, byte[] salt) Encodes user/password/salt information in the following way: MD5(MD5(password + user) + salt).
| |