RE: Decrypting on different platforms

From: Frank Perry (FrankPerry_at_discussions.microsoft.com)
Date: 05/25/05

  • Next message: Patt: "CAPICOM: How to Convert ExtendedProperty (CAPICOM_PROPID_KEY_PROV_INFO) to Struct _CRYPT_KEY_PROV_INFO"
    Date: Wed, 25 May 2005 05:15:41 -0700
    
    

    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: Patt: "CAPICOM: How to Convert ExtendedProperty (CAPICOM_PROPID_KEY_PROV_INFO) to Struct _CRYPT_KEY_PROV_INFO"

    Relevant Pages

    • Re: [PATCH] Allow 32-bit and 64-bit hashes
      ... The sym2 driver would like to hash a u32 value, ... call hash_longand rely on integer promotion on 64-bit machines, ... -static inline unsigned long hash_long(unsigned long val, unsigned int bits) ...
      (Linux-Kernel)
    • Re: SHA1 Hashing on different machines
      ... For a straight SHA1 hash, the hash value should be consistent on all ... > rolled out from my dev machine to our test server here at work, ... > both machines in the bin directory of the virtual directory. ...
      (microsoft.public.dotnet.framework)
    • Re: maintaining order in a hash (without Tie::IxHash)
      ... >> of insertion without a counter (internal to this hash or external)? ... the excuse of not wanting/able to install modules is usually ... >> bogus as there are many ways to install modules on almost any platform. ... nc> difficult to propagate the modules to prod machines. ...
      (comp.lang.perl.misc)
    • Limit the route hash size.
      ... I got the following from the boot of one of our really large machines: ... routing cache hash table of 33554432 buckets, ...
      (Linux-Kernel)
    • Re: [root user] How to disable root account?
      ... that's why we distribute the hash of the root password ... (And the machines do an update/upgrade regularly.) ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)