From 32440a0cb7cc1f14fa393d7e9b719036cabf13b5 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Wed, 4 May 2022 18:58:51 +0200 Subject: [PATCH] created basic info code for why2-app --- src/app/main.c | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/src/app/main.c b/src/app/main.c index 9425a3d..b0fa108 100644 --- a/src/app/main.c +++ b/src/app/main.c @@ -1,8 +1,26 @@ #include +#include +#include + +#define TEXT_TO_ENCRYPT "Some text yk" + int main(void) { - printf("Hello, World!\n"); - + setNoOutput(1); + + printf + ( + "Hi.\n" + "This is an simple application written using WHY2 Encryption System.\n\n" + + "\"%s\" => \"%s\"\n\n" + + "If you'd like to know more about WHY2 Encryption System, please visit: https://github.com/ENGO150/WHY2/wiki \n" + "Thank you so much for supporting this project!\n" + + , TEXT_TO_ENCRYPT, encryptText(TEXT_TO_ENCRYPT, NULL) + ); + return 0; } \ No newline at end of file