diff --git a/Chaos/Cipher/Arc4/Arc4Crypt.hpp b/Chaos/Cipher/Arc4/Arc4Crypt.hpp index 713e86f..88ce26b 100644 --- a/Chaos/Cipher/Arc4/Arc4Crypt.hpp +++ b/Chaos/Cipher/Arc4/Arc4Crypt.hpp @@ -67,7 +67,7 @@ private: while (count > 0) { - uint64_t keyMaterialBytes = std::min(keyBuf.Size(), count); + uint64_t keyMaterialBytes = std::min(keyBuf.Size(), count); Gen_.Generate(keyBuf.Begin(), keyMaterialBytes); for (auto keyBufIt = keyBuf.Begin();