MistServer  2.5.3-Pro-19-gf5e75b1 ( Generic_64)
Namespaces | Functions
encryption.cpp File Reference
#include "encryption.h"
#include "auth.h"
#include <cstdlib>
#include <cstring>
#include <iomanip>
#include <cstdio>
#include <iostream>
#include "rijndael.h"
#include "defines.h"
#include "bitfields.h"
#include "http_parser.h"
#include "base64.h"
#include "nal.h"
#include <sstream>

Namespaces

 Encryption
 

Functions

std::string Encryption::AES_Crypt (const std::string &data, const std::string &key, std::string &ivec)
 
std::string Encryption::AES_Crypt (const char *data, int dataLen, const char *key, const char *ivec)
 
void Encryption::AESFullCrypt (char *data, int dataLen, const char *key, const char *ivec)
 This function encrypts data in-place. More...
 
void Encryption::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 Encryption::binKey (std::string hexkey)
 Converts a hexidecimal string format key to binary string format. More...
 
void Encryption::encryptPlayReady (DTSC::Packet &thisPack, std::string &codec, const char *iVec, const char *key)
 
void Encryption::fillVerimatrix (verimatrixData &vmData)
 
std::string Encryption::hex (char dec)
 Helper function for urlescape. More...
 
std::string Encryption::hex (const std::string &input)
 
std::string Encryption::hexString (const char *data, unsigned long dataLen)
 helper function for printing binary values More...
 
std::string Encryption::PR_GenerateContentKey (std::string &keyseed, std::string &keyid)
 
std::string Encryption::PR_GuidToByteArray (std::string &guid)