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
440 B
16 lines
440 B
/** |
|
* @file codec.h |
|
* |
|
* Interface of save game encryption algorithm. |
|
*/ |
|
#pragma once |
|
|
|
#include "utils/stdcompat/cstddef.hpp" |
|
|
|
namespace devilution { |
|
|
|
std::size_t codec_decode(byte *pbSrcDst, std::size_t size, const char *pszPassword); |
|
std::size_t codec_get_encoded_len(std::size_t dwSrcBytes); |
|
void codec_encode(byte *pbSrcDst, std::size_t size, std::size_t size_64, const char *pszPassword); |
|
|
|
} // namespace devilution
|
|
|