The RSACryptoServiceProvider object performs asymmetric encryption and decryption using the implementation of the RSA algorithm provided by the cryptographic service provider (CSP).
Questions tagged [rsacryptoserviceprovider]
216 questions
0
votes
1 answer
RSA Key Store Permissions
Since yesterday I haven't been able to generate strong name keys using sn.exe or through Visual Studio which also uses sn.exe.
When attempting to generate a key file the following cimmand is executed
sn - k "key file.snk"
sn.exe then responds…

Crippledsmurf
- 3,982
- 1
- 31
- 50
0
votes
1 answer
Verify integrity Ceritifcate { RSACryptoServiceProvider - SHA1 - thumbprint }
I have a little problem. I want to verify the integrity of a certificate.
So I did this code:
using System.Security.Cryptography;
using System.Runtime.InteropServices;
using System.Security.Cryptography.X509Certificates;
SHA1Managed sha1 = new…
Custo
-1
votes
1 answer
What is the "limit" to the variety of strings that can be encrypted/decrypted using RSACryptoServiceProvider (C#)?
Following is my implementation of Rsa encryption and decryption methods, to do it I based myself on microsoft…

1o0oP
- 75
- 5
-1
votes
1 answer
How to pass CspParameters to another RSACryptoServiceProvider to encryption and Decrypt it
I'm currently working on a project with Xamarin and WCF, in which WCF will generate CspParameter at WCF and pass the Blob to Xamarin.
CspParameters cspParams = new CspParameters();
cspParams.KeyContainerName = KEY_CONTAINER_NAME;
cspParams.Flags =…

TPG
- 2,811
- 1
- 31
- 52
-1
votes
1 answer
Decrypt a mesage using RSA in .NET - m**d mod p*q not working
I am experimenting with Mega encryption API, and I am stuck with the RSA decryption part.
The JavaScript used is this:
// Compute m**d mod p*q for RSA private key operations.
function RSAdecrypt(m, d, p, q, u)
{
var xp = bmodexp(bmod(m,p),…

Andres_age
- 175
- 1
- 2
- 9
-2
votes
1 answer
RSA signing in C# for licensing
(Approach #2)
I need to make a software activation mechanism. So i ended up with this scheme: App creates a unique id, based on computer's hardware. Buyer emails this id to me. I sign it with my private key and i send back the signed string. App…

monica
- 53
- 8