From 653f647fc64a86260388ffff911b90d36e211d63 Mon Sep 17 00:00:00 2001 From: Leonetienne Date: Sun, 6 Feb 2022 22:04:22 +0100 Subject: [PATCH] Added nice tip to config.h --- GhettoCrypt/Config.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/GhettoCrypt/Config.h b/GhettoCrypt/Config.h index 3f09408..9481d0e 100644 --- a/GhettoCrypt/Config.h +++ b/GhettoCrypt/Config.h @@ -3,6 +3,9 @@ namespace GhettoCipher { + // MUST BE A POWER OF 2 > 4 constexpr std::size_t BLOCK_SIZE = 512; + + // MUST BE > 2 constexpr std::size_t N_ROUNDS = 64; }