|
std::string | AES_Crypt (const std::string &data, const std::string &key, std::string &ivec) |
|
std::string | AES_Crypt (const char *data, int dataLen, const char *key, const char *ivec) |
|
void | AESFullCrypt (char *data, int dataLen, const char *key, const char *ivec) |
| This function encrypts data in-place. More...
|
|
void | AESPartialCrypt (char *data, int dataLen, char *expandedKey, char *eCount, char *iVec, unsigned int &num, bool &initialize) |
| This function encrypts data in-place. More...
|
|
std::string | binKey (std::string hexkey) |
| Converts a hexidecimal string format key to binary string format. More...
|
|
void | encryptPlayReady (DTSC::Packet &thisPack, std::string &codec, const char *iVec, const char *key) |
|
void | fillVerimatrix (verimatrixData &vmData) |
|
std::string | hex (char dec) |
| Helper function for urlescape. More...
|
|
std::string | hex (const std::string &input) |
|
std::string | hexString (const char *data, unsigned long dataLen) |
| helper function for printing binary values More...
|
|
std::string | PR_GenerateContentKey (std::string &keyseed, std::string &keyid) |
|
std::string | PR_GuidToByteArray (std::string &guid) |
|
void Encryption::AESPartialCrypt |
( |
char * |
data, |
|
|
int |
dataLen, |
|
|
char * |
expandedKey, |
|
|
char * |
eCount, |
|
|
char * |
iVec, |
|
|
unsigned int & |
num, |
|
|
bool & |
initialize |
|
) |
| |
This function encrypts data in-place.
It alters all parameters except dataLen. Do not use it unless you know what you are doing.
Before use, make sure the iVec is in the UPPER 8 bytes
Before use, make sure this is not the only copy of the key you had. It is lost upon initialization