Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
Encrypt Login Packet NOS
SUBMITTED BY:
Guest
DATE:
June 25, 2014, 7 p.m.
FORMAT:
Text only
SIZE:
329 Bytes
Raw
Download
Tweet
HITS:
915
Go to comments
Report
std::string TPacketCypher::EncryptLoginPacket( std::string packetbuffer )
{
std::string encryptedbuffer;
auto length = packetbuffer.length();
//Packet encrypten
for(auto i = 0; i < length; i++)
{
encryptedbuffer += (int)(packetbuffer[i] + 0xF);
}
return (encryptedbuffer += 0x19);
}
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus