From 265d3c134ac1feb41ef69befed07334111daa99d Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Wed, 4 May 2022 18:44:54 +0200 Subject: [PATCH] implemented noOutput flag --- src/lib/encrypter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/encrypter.c b/src/lib/encrypter.c index e18dcda..5c92c0a 100644 --- a/src/lib/encrypter.c +++ b/src/lib/encrypter.c @@ -58,7 +58,7 @@ encryptText(char *text, char *keyNew) key[i] = (char) numberBuffer; } - printf("Your key is: %s\n!!! SAVE IT SOMEWHERE !!!\n\n", key); + if (!noOutput) printf("Your key is: %s\n!!! SAVE IT SOMEWHERE !!!\n\n", key); skipKey: