none
Custom C# Server: How to encrypt and decrypt user data in TCP RRS feed

  • Question

  • Hey everyone,

    I am building a custom data server to use with private software and I wanted to encrypt the data for security. I've searched around the internet a bit and I can't seem to find a solution that will work. Can someone please give me a secure way to encrypt and decrypt data that actually works

    Thanks in advance!

    Nate

    Friday, March 30, 2018 10:21 PM

Answers

All replies

  • Hi,

    Refer to this link for a good source regarding Encryption in C#.


    Saturday, March 31, 2018 4:36 AM
  • James,

     Good reply! But, I am sure the OP wanted free code vs learning.

    The forum seems to be cluttered with posts wanting free code

    instead of a little research on their part. I know for FACT, MSDN

    provides sample code for most Classes. It's REALLY hard to believe

    the statement,

     "I've searched around the internet a bit and I can't seem to find a

    solution that will work".

     

     OP, don't take offense to my comments.

     Thanks :)

    Saturday, March 31, 2018 3:47 PM
  • James,

     Good reply! But, I am sure the OP wanted free code vs learning.

    The forum seems to be cluttered with posts wanting free code

    instead of a little research on their part. I know for FACT, MSDN

    provides sample code for most Classes. It's REALLY hard to believe

    the statement,

     "I've searched around the internet a bit and I can't seem to find a

    solution that will work".

     

     OP, don't take offense to my comments.

     Thanks :)

    You are right, but there is nothing wrong what the OP does. They know Microsoft pays Chinese MSFT's to create code for free if that is asked in a forum. So why not use that.

    Success
    Cor

    Saturday, March 31, 2018 4:11 PM
  • Don't search the entire internet; the MSDN is usually enough, as in c# encryption. That has all the following:

    And the System.Security.Cryptography namsepace is certainly someplace I would look.



    Sam Hobbs
    SimpleSamples.Info

    Saturday, March 31, 2018 9:27 PM