You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
430 B

/**
* @file codec.h
*
* Interface of save game encryption algorithm.
*/
#pragma once
#include <cstddef>
namespace devilution {
std::size_t codec_decode(std::byte *pbSrcDst, std::size_t size, const char *pszPassword);
std::size_t codec_get_encoded_len(std::size_t dwSrcBytes);
void codec_encode(std::byte *pbSrcDst, std::size_t size, std::size_t size_64, const char *pszPassword);
} // namespace devilution