Re: RSA encryption with OAEP padding

From: Sébastien Pouliot (spouliot_at_videotron.ca)
Date: 09/26/03


Date: Thu, 25 Sep 2003 20:05:43 -0400


Hello John,

I've never been able to make OAEP works under Windows 2000 (even with the
high encryption pack installed) but never had problems with XP.

The Mono's (http://www.go-mono.com) implementation of
RSACryptoServiceProvider is totally managed and doesn't have any
restriction, e.g. it can EncryptValue/DecryptValue and be used with both
PKCS1 and OAEP padding. In theory you should be able to use the Mono's
RSAManaged class (used by RSACryptoServiceProvider) with Microsoft's
RSAOAEP... classes under Windows but I never tried it (however using
RSAPKCS1... classes will not work due to a framework bug in
PKCS1MaskGenerationMethod).

Sebastien Pouliot
Security Architect, Motus Technologies, http://www.motus.com/
work: spouliot@motus.com
home: spouliot@videotron.ca

"John Smith" <john.smith@nospam.com> wrote in message
news:eVxM4C3gDHA.1104@tk2msftngp13.phx.gbl...
> On Windows 2000 I get the error 'Direct Encryption and decryption using
RSA
> OAEP padding are not available on
> this platform' The docs also say this is Windows XP only - see
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemsecuritycryptographyrsacryptoserviceproviderclasstopic.asp.
>
> If you have this working on a W2K machine, can you post some sample code
of
> how you are doing this?
>
> Thanks
>
> "Pieter Philippaerts" <Pieter@nospam.mentalis.org> wrote in message
> news:e5Vrsd2gDHA.2916@tk2msftngp13.phx.gbl...
> > "John Smith" <john.smith@nospam.com> wrote
> > > I need to implement RSA encryption with OAEP padding on a Windows 2000
> > > server. Since the Framework only supports Windows XP, does anyone
know
> of
> > a
> > > third party utility that will enable me to do this?
> >
> > The RSACryptoServiceProvider can use OAEP padding on Windows 2000 and
> > higher.
> >
> > Regards,
> > Pieter Philippaerts
> > Managed SSL/TLS: http://www.mentalis.org/go.php?sl
> >
> >
>
>



Relevant Pages

  • Re: RSA encryption with OAEP padding
    ... I've never been able to make OAEP works under Windows 2000 (even with the ... high encryption pack installed) but never had problems with XP. ... PKCS1 and OAEP padding. ...
    (microsoft.public.dotnet.security)
  • Re: RSA OAEP padding support (PKCS#1 v2)
    ... have experience implementing OAEP padding with Windows Server 2003? ... >> it won't support OAEP), is there a different object out there that someone ...
    (microsoft.public.dotnet.security)
  • Re: Update CIPHER to 128bit on Win2000
    ... wasn't having luck specifically with WIN2000....thanks ... >Jay Velarde wrote: ... >Windows 2000 High Encryption Pack. ... >Windows 2000 Service Pack 2 Market Bulletin ...
    (microsoft.public.win2000.security)
  • Re: 128-bit Encryption
    ... I've tried running the "Windows 2000 High Encryption Pack" on Windows XP ... So I need to find a way to reinstall the 128-bit encryption on Windows XP. ... I have looked everywhere for a downloadable pack to do this but haven't ...
    (microsoft.public.windowsxp.security_admin)
  • Re: RSA OAEP padding support (PKCS#1 v2)
    ... Windows Server 2003 supports OAEP. ... XP support OAEP. ... > works out that we can't use the native .NET version of the RSA encryption ...
    (microsoft.public.dotnet.security)