I want two parties to be able to send encrypted messages to each other. How can i make sure that a man-in-the-middle is not able to just resend encrypted messages? Of course the man-in-the-middle would not know what he send, but the receiver would have no clue that it was not just send again by the person before.
Are there algorithmns techniques to avoid just that?
I hope you get my problem.
Greetings