Anonymous275 7da9f4fcd2 Launcher update to 1.63.5
- async tcp buffer
- two way encryption on connect
- map security fix
- DNS Lookup on connect
- fixed bug in beamng security
2020-10-16 17:10:12 +03:00

16 lines
379 B
C++

///
/// Created by Anonymous275 on 7/16/2020
///
#pragma once
#include <string>
#include "Xor.h"
struct RSA{
int n = 0;
int e = 0;
int d = 0;
};
std::string RSA_D(const std::string& Data,int d, int n);
std::string RSA_E(const std::string& Data,int e, int n);
std::string LocalEnc(const std::string& Data);
std::string LocalDec(const std::string& Data);
RSA* GenKey();