Click here to Skip to main content
15,888,287 members
Please Sign up or sign in to vote.
5.00/5 (2 votes)
See more:
hi all,
which is the best way to encrypt the UDP packets and to send over a network. As per as i know both SSL and TLS does not support UDP encryption, i came across a protocal called DTLS which is TLS improvement for Datagram (UDP) and other protocol which is efficient?
Posted

1 solution

Wikipedia says that OpenSSL[^] supports DTLS, but I really don't know how efficient it is.

You might as well consider truecrypt or crypto++, etc., but since you're operating on real-time data (UDP), these things may possibly slow down the whole process. I'll stick with DTLS, since it's designed specifically for that purpose.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900