Naprawiono problem z nie grenerowaniem klucza szyfrującego
This commit is contained in:
parent
29b2460910
commit
fd42a5812a
8 changed files with 23 additions and 17 deletions
|
|
@ -13,7 +13,7 @@ ChunkManager::~ChunkManager()
|
|||
// Dzielenie vectora na chunki dokładnie po 128KB
|
||||
// Kompresowanie chunków bez nagłówka
|
||||
//-----------------------------------------------------------------------------
|
||||
std::vector<char> ChunkManager::chunked(const std::vector<char>& raw, const bool& encrypt)
|
||||
std::vector<char> ChunkManager::chunked(const std::vector<char>& raw, const bool& compress, const bool& encrypt)
|
||||
{
|
||||
//std::vector<BlockSize> blockSizes;
|
||||
|
||||
|
|
@ -117,7 +117,7 @@ std::vector<char> ChunkManager::compress_data(const std::vector<char>& input)
|
|||
//-----------------------------------------------------------------------------
|
||||
// Dekompresja blokowa
|
||||
//-----------------------------------------------------------------------------
|
||||
std::vector<char> ChunkManager::dechunked(const std::vector<char>& zip, const bool& encrypt)
|
||||
std::vector<char> ChunkManager::dechunked(const std::vector<char>& zip, const bool& compress, const bool& encrypt)
|
||||
{
|
||||
size_t offset = 0;
|
||||
const uint16_t chunkLen = getIntFromVector<uint16_t>(zip, offset);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue