![]() |
|
#6
|
|||
|
|||
|
Hi raduga_fb,
I think you must provide us more details... If a can be as big as 256 hex digits, as you said in your first post, using a big integers library and an exhaustive loop, the values which solve your equation Code:
c = MOD (a^3, b) If numbers are to be manipulated with regular C functions (as wilson bibe suggested), where the max value for a can just be 0x7FFFFFFF, then Code:
c = MOD (a * MOD (a*a, b) , b) Code:
c = MOD (a^3, b) In any case, the MOD operator is not reversable, in the sense that many inputs can give the same output: Code:
a = b % c Code:
a + nc = b Best regards bilbo |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Been a while!! what needs reversing lol | MEPHiST0 | General Discussion | 3 | 01-18-2014 00:46 |