[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ms-cryptoapi
Subject:    Re: RSA compatibility
From:       Michael Heyman <mheyman () TIS ! COM>
Date:       1997-07-21 12:22:43
[Download RAW message or body]


Ioan Saftoiu wrote:
>
> Hi, there,
>
> I am developing a multiplatform application (using BSAFE), which has to
> be able to decrypt stuff encrypted with Crypto API (and vice-versa). The
> problem I have is that each side complains about encoding error(s)
> (NTE_BAD_DATA, BE_INPUT_DATA) when trying to decrypt messages encrypted
> by the other side. I'm talking about public key encryption.
>
Reverse the byte order on the exponent and modulus - MS uses little
endian integers.

-Michael

----------------------------------------------------------------
Users Guide http://www.microsoft.com/sitebuilder/resource/mailfaq.asp
contains important info including how to unsubscribe.  Save time, search
the archives at http://microsoft.ease.lsoft.com/archives/index.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic