I have an encryption line of code as follows:
a^x mod y = rem // ^ is the power fx
rem during decryption, how can we find the value of
I was thinking of using
xth root of
y, but it's not working; probably because of modulo congruence.
Can someone please guide me as to what needs to be done?