Sudantha
Sudantha

Reputation: 16184

Using RSA in C#

How to encrypt a text or any other media using RSA cryptography in C# ? .

Do i need to use any external libraries or are there any in-build stuff ? A small sample code will help!

Upvotes: 6

Views: 17010

Answers (2)

AbrahamJP
AbrahamJP

Reputation: 3430

Here are some code snippets from SO and code project.

Upvotes: 3

Use System.Security.Cryptography.RSACryptoServiceProvider.

The linked site contains an example.

Upvotes: 8

Related Questions