public class ExtensibleDigest extends Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
encode(byte[] clientNonce,
byte[] password,
byte[] salt,
String algoName,
byte[] serverNonce)
Encodes user/password/salt information in the following way: SHA2(SHA2(password + user) + salt).
|
public static byte[] encode(byte[] clientNonce,
byte[] password,
byte[] salt,
String algoName,
byte[] serverNonce)
clientNonce - The client nonce.password - The connecting user's password.salt - salt sent by the server.algoName - Algorithm name such as "SHA-256" etc.serverNonce - random number generated by serverCopyright © 2024 Amazon.com Inc.. All rights reserved.