21 lines
344 B
C
21 lines
344 B
C
//#pragma once
|
|
#ifndef BS_UtilH
|
|
#define BS_UtilH
|
|
|
|
#include "BSDefine.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
LONGLONG GetFileSizeFromPath(LPCWCH sPath);
|
|
void BuildStrToKey(const char* sKey, BYTE* pOut, int nSize);
|
|
void SetRandomStr(char* sRnd, int nLen);
|
|
int FileToSha256(LPCWCH sPath, BYTE* pOutHash);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|