EcbMode:Encryptor: delete move,copy * constructor,operator.

This commit is contained in:
hashlag committed 2026-10-18 02:40:52 +03:00
1 parent 62903ff9be
commit 643c1364c7
1 file changed
+6
+6
View File
@@ -30,6 +30,12 @@ public:
class Encryptor class Encryptor
{ {
public: public:
Encryptor(const Encryptor & other) = delete;
Encryptor(Encryptor && other) = delete;
Encryptor & operator=(const Encryptor & other) = delete;
Encryptor & operator=(Encryptor && other) = delete;
Encryptor(const typename CipherT::Key & key) Encryptor(const typename CipherT::Key & key)
: Encryptor_(key) : Encryptor_(key)
, BlockBytesPacked_(0) , BlockBytesPacked_(0)