mirror of
https://github.com/diasurgical/devilution.git
synced 2026-05-21 05:40:54 +00:00
14 lines
359 B
C
14 lines
359 B
C
/**
|
|
* @file codec.h
|
|
*
|
|
* Interface of save game encryption algorithm.
|
|
*/
|
|
#ifndef __CODEC_H__
|
|
#define __CODEC_H__
|
|
|
|
int codec_decode(BYTE *pbSrcDst, DWORD size, const char *pszPassword);
|
|
DWORD codec_get_encoded_len(DWORD dwSrcBytes);
|
|
void codec_encode(BYTE *pbSrcDst, DWORD size, int size_64, const char *pszPassword);
|
|
|
|
#endif /* __CODEC_H__ */
|