Introduction to Symmetric and Asymmetric Encryption

suggest change

You can improve the security of data in transit or in storage by encrypting it. System.Security.Cryptography has two approaches: symmetric and asymmetric.

Symmetric Encryption

This method uses a private key in order to perform the data transformation.

Pros:

Cons:

Under System.Security.Cryptography you have different classes that perform symmetric encryption, they are known as block ciphers:

Asymmetric Encryption

This method uses a combination of public and private keys in order to perform the data transformation.

Pros:

Cons:

Under System.Security.Cryptography you have access to different classes that perform asymmetric encryption:

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents