mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-05 13:17:49 +00:00
26 lines
389 B
C++
26 lines
389 B
C++
#pragma once
|
|
|
|
#if defined(_WIN32) && !defined(RBX_PLATFORM_DURANGO)
|
|
#include <windows.h>
|
|
#include <wincrypt.h>
|
|
#endif
|
|
|
|
#include <string>
|
|
|
|
namespace RBX
|
|
{
|
|
class Crypt
|
|
{
|
|
#if defined (_WIN32) && !defined(RBX_PLATFORM_DURANGO)
|
|
HCRYPTPROV context;
|
|
HCRYPTKEY key;
|
|
#endif
|
|
public:
|
|
Crypt();
|
|
~Crypt();
|
|
void verifySignatureBase64(std::string message, std::string signatureBase64);
|
|
};
|
|
}
|
|
|
|
|