locked
encryption in C# RRS feed

  • Question

  • User-158363518 posted

    {

    hi
    What are the best methods available for encryption?

    thanks;

    }

    Wednesday, July 13, 2016 6:47 PM

Answers

  • User-2057865890 posted

    Hi Csajad,

    There are many modern cryptographic methods used for encryption and decryption and it is classified in to two classes of key based algorithms.

    Symmetric Algorithm

    Same key is used for both Encryption and Decryption. The key will be kept as secret.

    Asymmetric Algorithm

    Different key is used for Encryption and Decryption.

    reference: Encrypting Data

    Best Regards,

    Chris

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, July 14, 2016 9:24 AM
  • User603616845 posted

    Hi,

    csajad

    encryption in C#

    Know more about Encryption and Decryption in C#.

    You can use MD5CryptoServiceProvider which is the best encryption logic provider. You can go through with this article for help.

    If required, you can write your own logic for encryption and decryption in C#

    Example

    Hope this will help you.

    thanks

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, July 14, 2016 10:46 AM

All replies

  • User753101303 posted

    Hi,

    Some more details could help. There is rarely a method which is "best" regardless of what you are trying to do.

    Wednesday, July 13, 2016 8:02 PM
  • User-2057865890 posted

    Hi Csajad,

    There are many modern cryptographic methods used for encryption and decryption and it is classified in to two classes of key based algorithms.

    Symmetric Algorithm

    Same key is used for both Encryption and Decryption. The key will be kept as secret.

    Asymmetric Algorithm

    Different key is used for Encryption and Decryption.

    reference: Encrypting Data

    Best Regards,

    Chris

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, July 14, 2016 9:24 AM
  • User603616845 posted

    Hi,

    csajad

    encryption in C#

    Know more about Encryption and Decryption in C#.

    You can use MD5CryptoServiceProvider which is the best encryption logic provider. You can go through with this article for help.

    If required, you can write your own logic for encryption and decryption in C#

    Example

    Hope this will help you.

    thanks

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, July 14, 2016 10:46 AM