Change module GenerateKeyfile to more versatile GenerateKey, which doesnt have to output to a file

This commit is contained in:
Leonetienne
2022-05-27 17:21:10 +02:00
parent e43a3deac9
commit 12a6c7c457
9 changed files with 56 additions and 65 deletions
+15
View File
@@ -0,0 +1,15 @@
#ifndef GCRYPTCLI_MODULE_GENERATEKEY_H
#define GCRYPTCLI_MODULE_GENERATEKEY_H
namespace Module {
// This module just generates a key, and outputs it.
// Can be used to create a keyfiles.
class GenerateKey {
public:
//! Will write the key to a file
static void Run();
};
}
#endif