public class Native41Authenticator extends Object
| Constructor and Description |
|---|
Native41Authenticator() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
encode(byte[] password,
byte[] salt)
Native authentication method 'mysql_native_password'
Calculate method: SHA1( password ) XOR SHA1( "20-bytes random data from server"
|
public static byte[] encode(byte[] password,
byte[] salt)
password - password valuesalt - 20 byte random challenge from serverCopyright © 2020. All rights reserved.