I have application working between server and client. All messages must be encrypted and decrypted. I use AES algorithm and I want method to hide the key.
I found Diffie-Hellman algorithm, but my problem is that I didn't find its source code. If the is another method for key exchange, please tell me.