public class CachingSha2Authenticator extends Object
| Constructor and Description |
|---|
CachingSha2Authenticator() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
encode(byte[] password,
byte[] nonce)
Caching SHA-2 pluggable authentication method 'caching_sha2_password'
Calculate method: XOR(SHA256(password), SHA256(SHA256(SHA256(password)), Nonce))
|
public static byte[] encode(byte[] password,
byte[] nonce)
password - password valuenonce - 20 byte long random dataCopyright © 2020. All rights reserved.