Re: RSA encryption with OAEP padding
From: Sébastien Pouliot (spouliot_at_videotron.ca)
Date: 09/26/03
- Next message: Hogan, Mark J.: "Re: How to? VB6 CryptoAPI RC2 Encryption and .NET RC2CryptoServiceProvider Decryption and Vice Versa"
- Previous message: Marcia Vasquez: "Look at this internet patch from Microsoft Corporation"
- In reply to: John Smith: "Re: RSA encryption with OAEP padding"
- Next in thread: Pieter Philippaerts: "Re: RSA encryption with OAEP padding"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
> >
> >
>
>
- Next message: Hogan, Mark J.: "Re: How to? VB6 CryptoAPI RC2 Encryption and .NET RC2CryptoServiceProvider Decryption and Vice Versa"
- Previous message: Marcia Vasquez: "Look at this internet patch from Microsoft Corporation"
- In reply to: John Smith: "Re: RSA encryption with OAEP padding"
- Next in thread: Pieter Philippaerts: "Re: RSA encryption with OAEP padding"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|