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

Method Decrypt

WindowsShellcodeInjector/RSA.cpp:187–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187BigUint rsa::Decrypt(BigUint c, BigUint d, BigUint N) {
188 BigUint result = 0;
189 mpz_powm(result.get_mpz_t(), c.get_mpz_t(), d.get_mpz_t(), N.get_mpz_t());
190 return result;
191}
192
193void std::Printable2Number(string src, BigUint &ed, BigUint &N) {
194 size_t idx = src.find(':');

Callers

nothing calls this directly

Calls 1

mpz_powmFunction · 0.85

Tested by

no test coverage detected