Re: Decrypting on different platforms

From: Ryan Menezes [MSFT] (ryanmen_at_online.microsoft.com)
Date: 05/26/05


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



Relevant Pages

  • Re: how to inherit LinkLabel control
    ... Have you tried Tim's modified sample code? ... machines. ... This posting is provided "as is" with no warranties and confers no rights. ...
    (microsoft.public.dotnet.framework.windowsforms.designtime)
  • Re: Not enough salt for high speed server connection
    ... > they are free to be of any design the management approves. ... > information is considered quite sensitive so strength of encryption is ... How is this salt used? ... > As you would expect the machines with higher clock speeds were able to ...
    (sci.crypt)
  • Re: Active Directory Questions
    ... That is the Windows Time Service. ... the rest of the machines aren't hard coded to sync with anything and then they ... Windows encryption stuff but does plug into Outlook. ...
    (microsoft.public.platformsdk.security)
  • Re: Former Install Encryption Cracking
    ... Note that the attacks you describe do not apply to Windows XP< they do not ... apply to machines joined to a domain and they do not apply to machines that ... > of which can perform EFS recovery on the files. ... > they have a brute-force cracker that works against EFS encryption keys. ...
    (microsoft.public.win2000.security)
  • Re: OT: Chip & Pin: How safe are the Keypad terminals?
    ... the encryption. ... Pin reader slot to log the data or some clever bit of software to ... Well all those machines are supposed to do is stop shop staff being able to ... However I dare say they all keep some sort of back-up copy of transactions ...
    (uk.people.consumers.ebay)