Re: How to use RSACryptoServiceProvider?

From: Pieter Philippaerts (Pieter_at_nospam.mentalis.org)
Date: 10/27/03


Date: Mon, 27 Oct 2003 02:40:04 +0100


"xeno" <qiang_xue@hotmail.com> wrote
> As I known, RSA can be encrypted by any key of the pair then can be
decrpted
> with another key.

The RSACryptoServiceProvider [and the Windows CryptoAPI] do not allow data
encryption with the private key or data decryption with the public key.

Regards,
Pieter Philippaerts
Managed SSL/TLS: http://www.mentalis.org/go.php?sl



Relevant Pages

  • Error:"Key not valid for use in specified state" for "RSACryptoServiceProvider.Encrypt()"
    ... I modified the RSACSPSample from MSDN to try out a simple commutative encryption model using RSA encryption but when i run the progrem the first encryption command works but during the second encryption command (line: ... RSACryptoServiceProvider RSA = new RSACryptoServiceProvider; ... decryptedData = RSADecrypt, false); ...
    (microsoft.public.dotnet.languages.csharp)
  • RSA maximum key size
    ... I have a question about what key lengths are supported by RSA ... encryption in .Net. ... RSACryptoServiceProvider RSA = new RSACryptoServiceProvider; ... asking is whether the .Net libraries are actually capable of supporting the ...
    (microsoft.public.dotnet.security)
  • Re: Symmetric encryption algorithm with group like properties
    ... >> Solutions that exist today are not as secure as they can be. ... I wouldn't expect more than PGP / GPG type encryption, ... > versions - with the key, protected by RSA encryption under a RSA public key ... > Alice needs a secure decryption mechanism to read her emails, ...
    (sci.crypt)
  • RE: rsa encrtyption
    ... It seems to work for her now and all we did was apply some Sql Server updates. ... My only guess was that the MS dll she used to apply the RSA encryption was ... According to the RSA encryption reference, I've performed some local tests, ... Export the machine-level RSA key container: ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • RE: rsa encrtyption
    ... According to the RSA encryption reference, I've performed some local tests, ... Grant Read Access to the RSA Encryption Key: ... Export the machine-level RSA key container: ... Import the the machine-level RSA key container on the 2nd server: ...
    (microsoft.public.dotnet.framework.aspnet.security)