Back to General discussions forum
Hi. Maybe you should correct the formulas a bit. It should read c = (m * (pe)^k) % n instead of c = m * (pe)^k and m = c * inv(pk^e, n) instead of m = c * inv((pk)^e). Otherwise it's bit unclear, what to do with prime number n.