Rename DesCrypt::Encryptor --> DesEncryptor, DesCrypt::Decryptor --> DesDecryptor.
All checks were successful
Chaos Ci / test-and-benchmark (push) Successful in 1m46s

Maintain naming consistency with Hash subproject.
This commit is contained in:
hashlag
2026-01-31 17:18:25 +03:00
parent b5d1f9a6fc
commit 9a3b6edfc3
2 changed files with 16 additions and 16 deletions

View File

@@ -221,10 +221,10 @@ public:
Inner_::RawKey Key_;
};
class Encryptor
class DesEncryptor
{
public:
Encryptor(const Key & key)
DesEncryptor(const Key & key)
: Schedule_(Inner_::KeySchedule::Direction::Encrypt, key.Key_)
{ }
@@ -256,10 +256,10 @@ public:
Inner_::KeySchedule Schedule_;
};
class Decryptor
class DesDecryptor
{
public:
Decryptor(const Key & key)
DesDecryptor(const Key & key)
: Schedule_(Inner_::KeySchedule::Direction::Decrypt, key.Key_)
{ }