WarpTwin
Documentation for WarpTwin models and classes.
Loading...
Searching...
No Matches
encryptionfunctions.h File Reference
#include <string>

Go to the source code of this file.

Namespaces

namespace  warptwin
 Class to propagate CR3BP dynamics in characteristic units.

Functions

void warptwin::simpleEncrypt (char *unencrypted, char *encrypted, char size, const std::string &key)
 Function to perform a simple encryption of a buffer of data.
void warptwin::simpleDecrypt (char *encrypted, char *unencrypted, char size, const std::string &key)
 Function to decrypt a buffer of data – companion to simpleEncrypt.
void warptwin::writeFileBinarySize (char *buffer, char buffer_size, const std::string &filename)
 Function to write a buffer of bytes to a file, along with their size.
void warptwin::readFileBinarySize (char buffer[MAX_SIZE_CHAR], char *size_actual, const std::string &filename)
 Function to read a buffer of bytes from a file.

Variables

const int warptwin::MAX_SIZE_CHAR = 0xFF