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

Method Encrypt

WindowsShellcodeInjector/RSA.cpp:181–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181BigUint rsa::Encrypt(BigUint m, BigUint e, BigUint N) {
182 BigUint result = 0;
183 mpz_powm(result.get_mpz_t(), m.get_mpz_t(), e.get_mpz_t(), N.get_mpz_t());
184 return result;
185}
186
187BigUint rsa::Decrypt(BigUint c, BigUint d, BigUint N) {
188 BigUint result = 0;

Callers

nothing calls this directly

Calls 1

mpz_powmFunction · 0.85

Tested by

no test coverage detected