From f0228877b4c3237bb309d292855c7bd7597dd542 Mon Sep 17 00:00:00 2001 From: hashlag Date: Sun, 6 Sep 2026 01:05:15 +0300 Subject: [PATCH] DesCrypt: Expose Block type in Encryptor and Decryptor. --- Chaos/Cipher/Block/Des/DesCrypt.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Chaos/Cipher/Block/Des/DesCrypt.hpp b/Chaos/Cipher/Block/Des/DesCrypt.hpp index f303c50..66cdb21 100644 --- a/Chaos/Cipher/Block/Des/DesCrypt.hpp +++ b/Chaos/Cipher/Block/Des/DesCrypt.hpp @@ -236,6 +236,7 @@ public: class Encryptor : public Chaos::Cipher::Block::Encryptor { public: + using Block = DesCrypt::Block; using Key = DesCrypt::Key; static constexpr size_t BlockSize = DesCrypt::BlockSize; static constexpr size_t KeySize = DesCrypt::KeySize; @@ -281,6 +282,7 @@ public: class Decryptor : public Chaos::Cipher::Block::Decryptor { public: + using Block = DesCrypt::Block; using Key = DesCrypt::Key; static constexpr size_t BlockSize = DesCrypt::BlockSize; static constexpr size_t KeySize = DesCrypt::KeySize;