Overload EncryptBlock() for the whole block as UInt64
This commit is contained in:
@@ -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_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user