|
Network System 0.1.1
High-performance modular networking library for scalable client-server applications
|
A simple XOR "encryption" transformer. More...

Public Member Functions | |
| XorTransformer (uint8_t key) | |
| bool | transform (std::vector< uint8_t > &data) |
| bool | reverse_transform (std::vector< uint8_t > &data) |
Private Attributes | |
| uint8_t | key_ |
A simple XOR "encryption" transformer.
Definition at line 281 of file concepts_example.cpp.
|
inlineexplicit |
Definition at line 283 of file concepts_example.cpp.
|
inline |
Definition at line 292 of file concepts_example.cpp.
References transform().

|
inline |
Definition at line 285 of file concepts_example.cpp.
References key_.
Referenced by reverse_transform().

|
private |
Definition at line 298 of file concepts_example.cpp.
Referenced by transform().