Method | Description | |
---|---|---|
GeneratePatchLocation ( short version, byte subversion, bool remove ) : int |
Generates an integer for the "patch location" value sent during handshake.
|
|
GetMd5HashString ( string str, bool lowercase = false ) : string |
Returns an MD5 hash string for a given string.
|
|
RsaEncryptPassword ( string password, |
Returns an RSA-encrypted MD5 hash of the given password, using the given RSAParameters.
|
Method | Description | |
---|---|---|
GetRsaWithParameters ( |
public static GeneratePatchLocation ( short version, byte subversion, bool remove ) : int | ||
version | short | The game version. |
subversion | byte | The game sub-version. |
remove | bool | Whether to remove. Something. |
return | int |
public static GetMd5HashString ( string str, bool lowercase = false ) : string | ||
str | string | The string to hash. |
lowercase | bool | Whether to return lowercase hex digits or not. Default value is |
return | string |
public static RsaEncryptPassword ( string password, |
||
password | string | The password string to encrypt. |
parameters | The parameters to use for the encryption. | |
return | string |