From f636a60dab4fccc3eab9c980ba2808a6e8f81ee6 Mon Sep 17 00:00:00 2001 From: hashlag Date: Sun, 18 Oct 2026 01:39:56 +0300 Subject: [PATCH] Arc4Crypt: delete move,copy * constructor,operator. --- Chaos/Cipher/Stream/Arc4/Arc4Crypt.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Chaos/Cipher/Stream/Arc4/Arc4Crypt.hpp b/Chaos/Cipher/Stream/Arc4/Arc4Crypt.hpp index 2194ede..3cc682b 100644 --- a/Chaos/Cipher/Stream/Arc4/Arc4Crypt.hpp +++ b/Chaos/Cipher/Stream/Arc4/Arc4Crypt.hpp @@ -17,6 +17,12 @@ public: Arc4Crypt() { } + Arc4Crypt(const Arc4Crypt & other) = delete; + Arc4Crypt(Arc4Crypt && other) = delete; + + Arc4Crypt & operator=(const Arc4Crypt & other) = delete; + Arc4Crypt & operator=(Arc4Crypt && other) = delete; + template Arc4Crypt(InputIt keyBegin, InputIt keyEnd) {