Diffie Hellman CTF
So there’s a server where you can send a number between [2, p-2], this algorithm is almost the same as Diffie Hellman but the public keys for users are not generated. And this is the code for the server:
So there’s a server where you can send a number between [2, p-2], this algorithm is almost the same as Diffie Hellman but the public keys for users are not generated. And this is the code for the server: