Overload EncryptBlock() for the whole block as UInt64

This commit is contained in:
hashlag
2026-01-24 23:14:03 +03:00
parent 15dd7398d2
commit 5a2d802a25
2 changed files with 49 additions and 0 deletions

View File

@@ -245,6 +245,11 @@ public:
Inner_::Bitwise::CrunchUInt64(out, encrypted);
}
uint64_t EncryptBlock(uint64_t block)
{
return DesCrypt::ProcessBlock(block, Schedule_);
}
private:
Inner_::KeySchedule Schedule_;
};