mawinkle 6 tahun lalu
induk
melakukan
67f3d3a74d
1 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 3 3
      test.cpp

+ 3 - 3
test.cpp

@@ -1,14 +1,14 @@
 #include <crypt/BigInt64.hpp>
 #include <hash.hpp>
-#include <myheader.h>
+#include <random>
 #include <iostream>
 int main(){
     std::mt19937_64 gen(54);
     BigInt n(2);
     unsigned int i = 1;
-    auto t1 = std::nanoTime();
+    //auto t1 = std::nanoTime();
     n = n.modPow(BigInt(gen, 31), secure_prime);
     std::cout << n.toString() << std::endl;
-    auto t2 = std::nanoTime();
+    //auto t2 = std::nanoTime();
     std::cout << sha512(n).hexString() << std::endl;
 }