24#include <openssl/err.h>
25#include <openssl/evp.h>
37#define ALWAYS_LOG(t) CLASS_EMERGENCY_LOG(program_wide_logger::get(), t)
40 #define LOG(t) CLASS_EMERGENCY_LOG(program_wide_logger::get(), t)
70 if (
this == &to_copy)
return *
this;
A very common template for a dynamic array of bytes.
borked_blowfish_crypto & operator=(const borked_blowfish_crypto &to_copy)
virtual ~borked_blowfish_crypto()
borked_blowfish_crypto(int key_size)
this will create a new random key of the "key_size", in bits.
bool set_key(int key_size)
this will create a new random key of the "key_size", in bits.
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.