S
S
Senture2018-11-28 20:22:33
Encryption
Senture, 2018-11-28 20:22:33

What kind of packet encryption should be used in a client-server application on the UDP protocol?

Hello! Thank you in advance for your attention!
I have a small client-server application (chat) which is implemented in C# using sockets to work with UDP. I want to try to encrypt packets, but I don't know what to choose.
Use the RSA encryption algorithm or SSL encryption, or maybe some other?
Please tell me what is the best way to use it to accomplish this task.
PS Thanks again to everyone!!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
Griboks, 2018-11-28
@Senture

In office Help has a classic example of encryption: aes+rsa. I can advise him. There is a simple code, all libraries are already built in.

S
stratosmi, 2018-11-28
@stratosmi

If it doesn't matter to you what to use, then what's the difference what to use?
Full of ready-made libraries. Choose to your taste.
PS:
Crypto algorithms are reliable - it's hard.
You don't need to write your own.
You don't need to use shit written on your knee.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question