Re: Decrypting on different platforms
From: Ryan Menezes [MSFT] (ryanmen_at_online.microsoft.com)
Date: 05/26/05
- Next message: Eric Slesar [MS]: "Authorization chat with Microsoft experts"
- Previous message: Marvin Bobo: "Re: Setting Passwords via DSML with non-admin type Domain User Cre"
- In reply to: Frank Perry: "RE: Decrypting on different platforms"
- Next in thread: Frank Perry: "Re: Decrypting on different platforms"
- Reply: Frank Perry: "Re: Decrypting on different platforms"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 25 May 2005 17:19:14 -0700
Which encryption algorithm are you using and what are the default CSPs on
those machines ?
Would definetely help if you can post some sample code.
Thanks,
Ryan Menezes [MSFT]
-
This posting is provided "AS IS" with no warranties, and confers no rights.
"Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm"
"Frank Perry" <FrankPerry@discussions.microsoft.com> wrote in message
news:03189DBD-7470-4C7A-97D3-50F68764BCED@microsoft.com...
> Howdy,
>
> I forgot to mention that I have both machines using 40 bit key lengths.
>
> --
> Frank Perry
> LavaLeaf Software
>
>
> "Frank Perry" wrote:
>
>> Howdy,
>>
>> I have been using the sample code for encrypting and decrypting files. I
>> have no trouble using the password version to encrypt a file and decrypt
>> it
>> on the same machine. But when I move the file to a different machine
>> with a
>> different OS, it fails. The two OSs are W2K and CE.
>>
>> So far, I have found the the hash created from the same password is
>> different on the two machines. I have tried forcing the same hash on
>> both
>> machines but that doesn't get me anywhere either. I haven't seen the CE
>> side, but the KP_IV of the W2K side is all 0's.
>>
>> I would try transfering the key itself, but on a different problem, I
>> can't
>> get CryptGetUserKey to return a key. I am using the code from the
>> example
>> but nothing comes back. I get the error that there is no key.
>>
>> Are there any ideas about either of these problems?
>>
>> Thanks in advance.
>> --
>> Frank Perry
>> LavaLeaf Software
- Next message: Eric Slesar [MS]: "Authorization chat with Microsoft experts"
- Previous message: Marvin Bobo: "Re: Setting Passwords via DSML with non-admin type Domain User Cre"
- In reply to: Frank Perry: "RE: Decrypting on different platforms"
- Next in thread: Frank Perry: "Re: Decrypting on different platforms"
- Reply: Frank Perry: "Re: Decrypting on different platforms"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|