Category : user-input

Quite simply, I have passed a large string as an input to GMP’s mpz_class constructor, and the value is a different integer. These values were acquired through vs code’s debugger. From the main file: User john(1024, "340282366920938463463370103832140841039", "340282366920938463463370103832140841051", 17); The User constructor: User::User(const int k, std::string p, std::string q, const int e) { this->m_k = ..

Read more