RSA maximum key size

From: Novice (6tc1ATqlinkDOTqueensuDOTca)
Date: 11/08/04


Date: Sun, 7 Nov 2004 18:58:01 -0800

Hey all, I have a question about what key lengths are supported by RSA
encryption in .Net (through RSACryptoServiceProvider). I have checked using
code - something like this:
RSACryptoServiceProvider RSA = new RSACryptoServiceProvider();
RSA.LegalKeySize[0].MaxKeySize

and I found that it supports 16384 bit keys.

Isn't the current standard for a "good" key length (difficult to deduce
through cryptoanalysis) - 1024 or 2048 bit encryption?

Lastly, I have read that though the officially supported key length is 16384
bits - the modulus that RSA will end up using is inappropriate. What I'm
asking is whether the .Net libraries are actually capable of supporting the
maximum key length size that they indicate.

Thanks,
Novice



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)
  • Re: How to use RSACryptoServiceProvider?
    ... RSA can be encrypted by any key of the pair then can be ... The RSACryptoServiceProvider do not allow data ... encryption with the private key or data decryption with the public key. ...
    (microsoft.public.dotnet.security)
  • private Key aus P12 Datei
    ... public string Sign(string TextToSign, string PrivateKey) ... RSACryptoServiceProvider rsaCryptoServiceProvider = new ... RSA RSA = RSA.Create; ... ASCIIEncoding Encoding = new ASCIIEncoding; ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)
  • RE: Implementing RSACryptoServiceProvider *and* JavaScript
    ... One of the things I discovered is the 'standard' RSA algorithms, ... I've more-or-less come to the conclusion that the RSACryptoServiceProvider ... >> passwords and other sensitive information is passed from the client back to ... >> a JavaScript RSA implementation that works with the RSACryptoServiceProvider. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • 2.0 breaking change. Cant figure it out.
    ... If you create a new RSA, ... private const int magic_size = 4; ... RSACryptoServiceProvider rsa = GetRSAFromSnkBytes; ... RSAParameters ret = new RSAParameters; ...
    (microsoft.public.dotnet.languages.csharp)