From 421449742688a446e56ac646654428db719d701a Mon Sep 17 00:00:00 2001 From: hashlag Date: Sun, 18 Oct 2026 01:30:43 +0300 Subject: [PATCH] DesCrypt::Encryptor: delete move,copy * constructor,operator. --- Chaos/Cipher/Block/Des/DesCrypt.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Chaos/Cipher/Block/Des/DesCrypt.hpp b/Chaos/Cipher/Block/Des/DesCrypt.hpp index cf5bd97..6c16e04 100644 --- a/Chaos/Cipher/Block/Des/DesCrypt.hpp +++ b/Chaos/Cipher/Block/Des/DesCrypt.hpp @@ -257,6 +257,12 @@ public: static constexpr size_t BlockSize = DesCrypt::BlockSize; static constexpr size_t KeySize = DesCrypt::KeySize; + Encryptor(const Encryptor & other) = delete; + Encryptor(Encryptor && other) = delete; + + Encryptor & operator=(const Encryptor & other) = delete; + Encryptor & operator=(Encryptor && other) = delete; + Encryptor(const Key & key) : Schedule_(Inner_::KeySchedule::Direction::Encrypt, key.Key_) { }