C# Public Private Key Encryption/Decryption

I would like to take a string

  Encode it with a Public Key

 Then Decrypt it with a Private Key

The key pair maybe created using opensll for instance

 MD5/ SHA1 or whatever method is fine

Is there a C# Class for this?
LVL 12
Who is Participating?
anarki_jimbelConnect With a Mentor Commented:
Can't remember details, check the following classes:

AsymmetricAlgorithm Class
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.