mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-03 00:05:34 +00:00
CMakeLists was also modified to make this work, but its scuffed and i will hold on to that for a while longer
22 lines
462 B
C++
22 lines
462 B
C++
///
|
|
/// Created by Anonymous275 on 7/28/2020
|
|
///
|
|
#pragma once
|
|
#ifdef __linux
|
|
#define EXCEPTION_POINTERS void
|
|
#else
|
|
#include <WS2tcpip.h>
|
|
#endif
|
|
#include <string>
|
|
#include "Xor.h"
|
|
struct RSA{
|
|
int n = 0;
|
|
int e = 0;
|
|
int d = 0;
|
|
};
|
|
std::string RSA_E(const std::string& Data,int e, int n);
|
|
std::string RSA_E(const std::string& Data, RSA*k);
|
|
std::string RSA_D(const std::string& Data, RSA*k);
|
|
int Handle(EXCEPTION_POINTERS *ep,char* Origin);
|
|
RSA* GenKey();
|