From c51a22646f4634368f1e25f80e41e9452ff842be Mon Sep 17 00:00:00 2001 From: hashlag Date: Sun, 13 Sep 2026 01:36:39 +0300 Subject: [PATCH] EcbMode: require concept Cipher. --- Chaos/Cipher/Block/Mode/Ecb.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Chaos/Cipher/Block/Mode/Ecb.hpp b/Chaos/Cipher/Block/Mode/Ecb.hpp index 1f77ecf..8f91561 100644 --- a/Chaos/Cipher/Block/Mode/Ecb.hpp +++ b/Chaos/Cipher/Block/Mode/Ecb.hpp @@ -4,6 +4,7 @@ #include #include +#include "Cipher/Block/Cipher.hpp" #include "Padding/Padder.hpp" #include "Service/ChaosException.hpp" #include "Service/SeArray.hpp" @@ -11,7 +12,7 @@ namespace Chaos::Cipher::Block::Mode { -template +template class EcbMode { public: