24#include <openssl/err.h>
25#include <openssl/evp.h>
46#define ALWAYS_LOG(t) CLASS_EMERGENCY_LOG(program_wide_logger::get(), t)
49 #define LOG(t) CLASS_EMERGENCY_LOG(program_wide_logger::get(), t)
79 if (
this == &to_copy)
return *
this;
A very common template for a dynamic array of bytes.
bool set_key(int key_size)
this will create a new random key of the "key_size", in bits.
virtual ~twofish_crypto()
twofish_crypto(int key_size)
this will create a new random key of the "key_size", in bits.
twofish_crypto & operator=(const twofish_crypto &to_copy)
The guards collection helps in testing preconditions and reporting errors.
A logger that sends to the console screen using the standard output device.
An extension to floating point primitives providing approximate equality.
A dynamic container class that holds any kind of object via pointers.