From 0647a7c3dca640c9a2385a523fe0f19008526d48 Mon Sep 17 00:00:00 2001 From: hashlag Date: Sun, 8 Feb 2026 02:57:00 +0300 Subject: [PATCH] DesEncryptor/DesDecryptor: expose key type. --- 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 6bfb167..f3457de 100644 --- a/Chaos/Cipher/Block/Des/DesCrypt.hpp +++ b/Chaos/Cipher/Block/Des/DesCrypt.hpp @@ -233,6 +233,7 @@ public: class DesEncryptor : public Encryptor { public: + using Key = DesCrypt::Key; static constexpr size_t BlockSize = DesCrypt::BlockSize; static constexpr size_t KeySize = DesCrypt::KeySize; @@ -277,6 +278,7 @@ public: class DesDecryptor : public Decryptor { public: + using Key = DesCrypt::Key; static constexpr size_t BlockSize = DesCrypt::BlockSize; static constexpr size_t KeySize = DesCrypt::KeySize;