mirror of
https://github.com/diasurgical/DevilutionX.git
synced 2026-05-21 05:40:35 +00:00
17 lines
430 B
C++
17 lines
430 B
C++
/**
|
|
* @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
|