Tidied up example/static test executables

This commit is contained in:
Leonetienne
2022-05-26 18:24:44 +02:00
parent e7c1e17e2c
commit c0418766d9
20 changed files with 574 additions and 69 deletions

View File

@@ -0,0 +1,21 @@
#include <GCrypt/GWrapper.h>
#include "Benchmark.h"
using namespace Leonetienne::GCrypt;
int main() {
Benchmark(
"file encryption",
[]() {
GWrapper::EncryptFile(
"./execAssets/big-testfile.bmp",
"./execAssets/testimage.bmp.crypt",
Key::FromPassword("password1")
);
}
);
return 0;
}