Added encryption module, and data output layer
This commit is contained in:
@@ -2,8 +2,7 @@
|
||||
#include "Configuration.h"
|
||||
#include "KeyManager.h"
|
||||
#include "ModuleGenerateKey.h"
|
||||
|
||||
#include "DataIngestionLayer.h"
|
||||
#include "ModuleEncryption.h"
|
||||
|
||||
int main(int argc, char* const* argv) {
|
||||
|
||||
@@ -16,12 +15,12 @@ int main(int argc, char* const* argv) {
|
||||
// Prepare the key
|
||||
KeyManager::PrepareKey();
|
||||
|
||||
IO::DataIngestionLayer::Init();
|
||||
|
||||
// Launch our module
|
||||
switch (Configuration::activeModule) {
|
||||
case Configuration::MODULE::GENERATE_KEY:
|
||||
Module::GenerateKey::Run();
|
||||
case Configuration::MODULE::ENCRYPTION:
|
||||
Module::Encryption::Run();
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user