ReplicaNet and RNLobby
1
|
#include <Encryption.h>
Classes | |
struct | Key |
Static Public Member Functions | |
static void | Encrypt (void *data, int length, Key *key) |
static void | Decrypt (void *data, int length, Key *key) |
static void | CommutativeEncrypt (void *data, int length, Key *key) |
static void | CommutativeDecrypt (void *data, int length, Key *key) |
static void | CommutativeEncryptBytewise (void *data, int length, Key *key) |
static void | CommutativeDecryptBytewise (void *data, int length, Key *key) |
An symmetric encryption class that is designed to be fast and maintain the size of the original data.
|
static |
Decrypt a portion of memory with a key with a commutative algorithm.
data | the pointer to the start of the memory |
length | the length of the memory in bytes |
key | the key to use |
|
static |
Decrypt a portion of memory with a key with a commutative bytewise algorithm.
data | the pointer to the start of the memory |
length | the length of the memory in bytes |
key | the key to use |
|
static |
Encrypt a portion of memory with a key with a commutative algorithm.
data | the pointer to the start of the memory |
length | the length of the memory in bytes |
key | the key to use |
|
static |
Encrypt a portion of memory with a key with a commutative bytewise algorithm.
data | the pointer to the start of the memory |
length | the length of the memory in bytes |
key | the key to use |
|
static |
Decrypt a portion of memory with a key.
data | the pointer to the start of the memory |
length | the length of the memory in bytes |
key | the key to use |
|
static |
Encrypt a portion of memory with a key.
data | the pointer to the start of the memory |
length | the length of the memory in bytes |
key | the key to use |