MCPcopy Create free account
hub / github.com/Yeuoly/0xUBypass / Gcd

Method Gcd

WindowsShellcodeInjector/RSA.cpp:12–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10 std::cout << "module:" << module " takes " << finish - start << std::endl;
11
12BigUint math::Gcd(BigUint a, BigUint b) {
13 if (a == 0) {
14 return b;
15 }
16 if (a > b) {
17 return Gcd(b, a);
18 }
19 return Gcd(b % a, a);
20}
21
22void rsa::init() {
23 srand(time(NULL));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected