martinwithaar / Encryptor4j

Strong encryption for Java simplified
MIT License
101 stars 26 forks source link

Best practice for making an end-to-end encrypted socket connection. #7

Open Technerder opened 5 years ago

Technerder commented 5 years ago

As the title suggests, I'm looking to dynamically establish a socket connection between two machines and was wondering what the recommended way of doing it to achieve maximum security using this library was (In order to encrypt all traffic between the machines).

exabrial commented 4 years ago

The only secure way to do this would be to use TLS1.2 or TLS1.3