hello, the task was to make an implementation of the RSA algorithm with sockets
in this case I put the numbers already fixed but the ideal is that the prime number p, q are randomly generated.
i put :
p=61
q=53
and this is the source code of the server:
the source code of the client:
Server Running:
references:
http://es.wikipedia.org/wiki/RSA