Méthode | Description | |
---|---|---|
GenerateChallenge ( ) : byte[] |
Generates a 16-byte challenge.
|
|
GetChallengeResponse ( byte challenge, byte password, byte response ) : void |
Calculates a response for a password challenge, using a password.
|
|
GetChallengeResponse ( byte challenge, char password, byte response ) : void |
Calculates a response for a password challenge, using a password.
|
Méthode | Description | |
---|---|---|
ReverseBits ( byte @value ) : byte |
Reverses the bits of a byte.
|
public static GenerateChallenge ( ) : byte[] | ||
Résultat | byte[] |
public static GetChallengeResponse ( byte challenge, byte password, byte response ) : void | ||
challenge | byte | /// The challenge received from the server. /// |
password | byte | /// The password to encrypt the challenge with. /// |
response | byte | /// The response to send back to the server. /// |
Résultat | void |
public static GetChallengeResponse ( byte challenge, char password, byte response ) : void | ||
challenge | byte | /// The challenge received from the server. /// |
password | char | /// The password to encrypt the challenge with. /// |
response | byte | /// The response to send back to the server. /// |
Résultat | void |