ReplicaNet and RNLobby
1
|
Public Member Functions | |
Key (const Key &source) | |
void | Create (const void *data, const int length) |
void | AddCrypto (const void *data, const int length) |
void | AddCrypto (const unsigned char salt) |
Public Attributes | |
unsigned char | mKey [kEncryptionKeyLengthBytes] |
void AddCrypto | ( | const void * | data, |
const int | length | ||
) |
Adds the data to an existing crypto key, for example a salt value to cause the key to change for each block of data.
data | the data to use as a seed for the key. This can be NULL to use the default key. |
length | the length of the data to use for creating the key |
void Create | ( | const void * | data, |
const int | length | ||
) |
Creates a key from data and an input length.
data | the data to use as a seed for the key. This can be NULL to use the default key. |
length | the length of the data to use for creating the key |