rsacryptoserviceprovider Questions

3

I just read this article RSA keys under 1024 bits are blocked, and in my .NET software I make extensive use of 384bit keys. Will my program still be able to generate/store/read keys from the Machin...
Decrepit asked 12/7, 2012 at 15:14

1

Solved

I have a smartcard and I need to sign a file with this. That is a big problem as I see in stackover. I couldnt use RSACryptoServiceProvider, bkz it doesnt support RSA-SHA256 alogrithm. At First I...
Mensuration asked 20/5, 2012 at 11:50

2

I've used the .NET class RSACryptoServiceProvider to get a keypair: using (RSACryptoServiceProvider rsa = new RSACryptoServiceProvider()) { File.WriteAllText ("PublicKeyOnly.xml", rsa.ToXmlString...
Wasteful asked 15/7, 2010 at 21:42

2

Solved

I have a requirement, where I need to encrypt my connection string in one application and decrypt it in another. With this in mind, I save the public key and private keys in App.Config of the appli...
Barrio asked 28/2, 2012 at 15:15

1

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Security.Cryptography; using System.IO; namespace EncryptionTest { class Program { static void...
Balch asked 8/2, 2012 at 13:33

1

Solved

Until today I was living under the impression that RSA encryption using RSA is deterministic. After all, how should signature verification work if it wasn't? To my big suprise, .NETs RSACryptoServ...
Treatment asked 29/11, 2011 at 12:40

2

Solved

EDIT2: Seems Convert.FromBase64String is my savior. Does anyone know if a comma would every be in such a string? I'm doing basic csv parsing. If it is I can always use quotes (but can quotes ever b...

1

any body can explain the parameters of RSAParameters i had seen the parameters like p,d,e,q,... i need the private key and public key from it i got the link http://msdn.microsoft.com/en-us/librar...
Photo asked 30/6, 2011 at 6:59

3

Solved

I'm trying to encrypt and decrypt data using RSA in C#. I have the following MSTest unit test: const string rawPassword = "mypass"; // Encrypt string publicKey, privateKey; string encryptedPasswo...
Pheni asked 30/6, 2010 at 19:27

3

I feel like what I am trying to do is very simple. But for some reason it doesn't want to work: Here is a complete code snippet to test what I am trying to do: using System; using System.Xml; usi...

1

Solved

I'm trying to set up a simple server side RSA encryption of a small chunk of info which is to be decrypted on the client side. Just as a proof of concept I wrote a few lines to ensure that the publ...
Clarabelle asked 27/10, 2009 at 10:42

0

I am half way through my problem.. Please Help.. I have successfully encrypted the text using public key of digital signatures but while decrypting it, I am getting the error. Error occurred whil...

3

I'm using RSACryptoServiceProvider in .NET 2 and it seems that the Private part of a Public/Private key pair always contains the Public part as well. I need to encrypt some info using my Public ke...
Amygdalin asked 19/11, 2008 at 8:25

2

Solved

I recently encountered an odd problem with RSACryptoServiceProvider.VerifyHash. I have a web application using it for decryption. When users running the web service were doing so over our VPN it ...
Alboran asked 6/10, 2008 at 13:57

© 2022 - 2024 — McMap. All rights reserved.