Find the answer to your Linux question:
Results 1 to 2 of 2
Hi All, I am using sha256 to calculate the hash of a file on linux 32 bit systems. The hash value is stored in the file at the time of ...
  1. #1
    Just Joined!
    Join Date
    Nov 2005
    Posts
    5

    Exclamation sha256 not working on Linux 64 bit system

    Hi All,

    I am using sha256 to calculate the hash of a file on linux 32 bit systems. The hash value is stored in the file at the time of file creation itself.
    Whenever, we need to access the file, we verify the authenticity of the file, for which we recalculate the hash of the file and match it with the stored value.
    This works fine on Linux 32 bit system. This was the history bit!

    Now the issue is that the sha256 implementation is not working correctly on Linux AMD 64 bit system. The sha256 generates a different hash value for the same file when called twice.

    Can anybody suggest what changes need to be made to help it work fine on 64 bit systems.
    Kindly note that we are using in house implementation of the sha256. and for security reasons cannot share the sha256 implementation being used


    ++thanks,
    -Sachin

  2. #2
    Just Joined!
    Join Date
    Jun 2008
    Posts
    39
    in house implementation of the sha256
    What is the difference between the implementation on the 32 bit and the 64 bit?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...