Security, Diffie Hellman, Cryptography, Nodejs.
aesjs.utils.utf8.toBytes(key_exchang_arguments.y_of_a); var aesCbc = new aesjs.ModeOfOperation.cbc(key, iv); var encryptedBytes = aesCbc.encrypt(textBytes); finally encryptedBytes is the message that you can send to your participant . Vulnerabilities although diffie-hellman is secure against