Method | Description | |
---|---|---|
CalcKey ( byte sharedKey, byte msgKey, bool client ) : |
||
CalcMsgKey ( byte data ) : byte[] | ||
CalcMsgKey ( byte data, int offset, int limit ) : byte[] | ||
GenerateRandomBytes ( int num ) : byte[] | ||
GenerateRandomLong ( ) : long | ||
GenerateRandomUlong ( ) : ulong | ||
sha1 ( byte data ) : byte[] | ||
sha1 ( byte data, int offset, int limit ) : byte[] |
public static CalcKey ( byte sharedKey, byte msgKey, bool client ) : |
||
sharedKey | byte | |
msgKey | byte | |
client | bool | |
return |
public static CalcMsgKey ( byte data ) : byte[] | ||
data | byte | |
return | byte[] |
public static CalcMsgKey ( byte data, int offset, int limit ) : byte[] | ||
data | byte | |
offset | int | |
limit | int | |
return | byte[] |
public static GenerateRandomBytes ( int num ) : byte[] | ||
num | int | |
return | byte[] |
public static GenerateRandomUlong ( ) : ulong | ||
return | ulong |
public static sha1 ( byte data, int offset, int limit ) : byte[] | ||
data | byte | |
offset | int | |
limit | int | |
return | byte[] |