Re: capi to openssl



On Tue, 21 Aug 2007 01:51:35 -0700, Bhaskar wrote:

Hello ,

I am having RSA Public & Private keys & encrypted data on windows
machine. Both generated with Ms Capi.

I want to decrypt the data on linux using openssl.

[1] So how do I move the private key from capi to openssl ? Do I need
to change endian ness for private key ?
What do u exactly mean by changing endian-ness ? It is complete
reversal of bytes or just swapping of bytes within word.

[2] Before decrypting a data , do I need to reverse the bytes ? What
should I do , I am badly stuck .


Are you able to use gmp libraries with openssl? I recall no and thus its
quite slow.

You might find when going x-platform that Diffie-Hellman eases interops.
Further on the Linux side you can use gmp libs in Perl -- checkout
perl-Math-BigInt-GMP.

--
Mark
.



Relevant Pages

  • ms capi to openssl
    ... I want to decrypt the data on linux using openssl. ... So how do I move the private key from capi to openssl? ... do I need to reverse the bytes? ...
    (microsoft.public.security)
  • ms capi to openssl
    ... I want to decrypt the data on linux using openssl. ... So how do I move the private key from capi to openssl? ... do I need to reverse the bytes? ...
    (microsoft.public.dotnet.security)
  • capi to openssl
    ... I want to decrypt the data on linux using openssl. ... So how do I move the private key from capi to openssl? ... do I need to reverse the bytes? ...
    (microsoft.public.platformsdk.security)
  • Re: CryptAPI(encryption/decryption)
    ... It seems like you're missing the Base64 decode step when trying to decrypt ... I misspelled the Private Key as Primary Key. ... Is there any variation in the encryption format in openssl compared to ... "Dylan DSilva " wrote: ...
    (microsoft.public.pocketpc.developer)
  • [OT] Re: Basic question about Public Private Key Pairs
    ... > and private keys allow me to decrypt, but vice versa is not possible (or ... a public key and a corresponding private key. ... You can encrypt something with each key; ...
    (microsoft.public.dotnet.security)