| 10 | std::cout << "module:" << module " takes " << finish - start << std::endl; |
| 11 | |
| 12 | BigUint 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 | |
| 22 | void rsa::init() { |
| 23 | srand(time(NULL)); |
nothing calls this directly
no outgoing calls
no test coverage detected