mawinkle 6 yıl önce
ebeveyn
işleme
87d13dad81
7 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 0 0
      .gitignore
  2. 0 0
      crypt/BigInt64.hpp
  3. 0 0
      server.cpp
  4. 0 0
      socketio.hpp
  5. 0 0
      socketio_posix.cpp
  6. 0 0
      socketio_win32.cpp
  7. 2 0
      test.cpp

+ 0 - 0
.gitignore


+ 0 - 0
crypt/BigInt64.hpp


+ 0 - 0
server.cpp


+ 0 - 0
socketio.hpp


+ 0 - 0
socketio_posix.cpp


+ 0 - 0
socketio_win32.cpp


+ 2 - 0
test.cpp

@@ -31,6 +31,8 @@ int main(){
 	BigInt a(364598273448762ULL);
 	BigInt b(gen, 31);
 	BigInt mod("25517712857249265246309662191040714920292930135958602873503082695880945015180270627160886016284304866241119009429935511497986916016509065559298646199688497746399172174316028774533924795864096565081478741603241830675436336762053778667047857025632695617746551090247164369324008907433218665135569658200641651876344533506145721941113011977317356006176781796659698883765657005845351846184505291996942442336931455986790727248315517902731173678888064950798931396279140373592203530274617983159864665935475637811846793653407441533829095478201308785445059955697867933027578011378694502392722655274554801068451419037021634697683");
+	std::cout << "\033[1;31mbold red text\n";
+	std::cout << "Modlänge" << (mod.end() - mod.begin()) << "\n";
 	std::cout << "(" << a.toString() << " ^ " << std::flush;
 	a = a.modPow(b, mod);
 	std::cout << "" << b.toString() << ")";