First part: RSA CRT versus RSA std.
[crypto_lab3.git] / src / Utils.cpp
index b60be50..0bae372 100644 (file)
@@ -17,6 +17,11 @@ int Timer::ms() const
    return chrono::duration_cast<chrono::milliseconds>(chrono::high_resolution_clock::now() - this->time).count();
 }
 
+void Timer::reset()
+{
+   this->time = chrono::high_resolution_clock::now();
+}
+
 ostream& operator<<(ostream& os, const Timer& t)
 {
    os << t.ms() << " ms";