Donate Share

ReHash - Console-Based Hash Calculator

Code

Programming Languages: C++, C

License: BSD License

Repositories

browse code, statistics, last commit on 2003-08-28 cvs -d:pserver:anonymous@rehash.cvs.sourceforge.net:/cvsroot/rehash login

cvs -z3 -d:pserver:anonymous@rehash.cvs.sourceforge.net:/cvsroot/rehash co -P modulename

Show:

What's happening?

  • Tiger Hash Algorithm?

    Which Tiger Hash Algorithm does Rehash use? I can't get Rehash's output to match any of the Algorithms on http://www.hashemall.com/ I was able to match it to the output of a couple other programs but they aren't specific about the algorithm either.

    2009-06-22 02:50:21 UTC by jimmyhoffa

  • Comment: Seems not working on 64bits

    Error code 3 means RH_NO_PATH, i.e. the file pattern you specified is invalid, the path doesn't exist or you didn't pass a path at all. Make sure ReHash has read access to the specified path. Best regards Dominik.

    2008-02-18 15:07:01 UTC by dreichl

  • Seems not working on 64bits

    Output gives an error code 3 (%ERRORLEVEL%) but nothing more...

    2008-02-18 12:53:41 UTC by nobody

  • Comment: Show path as well as filename in output

    (Submitted by james2000)

    2007-10-24 18:19:41 UTC by james2000

  • Fails if filename begins with "!" character

    Rehash fails if filename begins with literal "!" (explanation mark). The reason for this is because "!" is treated as a pattern matching character. Please can you advise work-around for this problem? Thanks, James.

    2007-10-24 18:14:02 UTC by james2000

  • Show path as well as filename in output

    Excellent utility, and I definitely have a requirement for this utility! I have one question. Is it possible to display the PATH as well as the filename in the output ? For example: "File","HMAC","HMAC Key","CRC16" "PATH\filename1","0","","1234" "PATH\filename2","0","","5678" Is there already an option to do this ? Or could an extra option be added to do this ?...

    2007-10-24 17:33:58 UTC by nobody

  • Comment: GOST-hash

    My implementation is correct. The output is _not_ mirrored. For test vectors, see one of the following pages: http://en.wikipedia.org/wiki/Gost-Hash http://www.autochthonous.org/crypto/ http://serversniff.net/hash.php Best regards Dominik.

    2006-12-22 13:31:58 UTC by dreichl

  • GOST-hash

    Sorry for my BAD English, but your programs not true calc GOST-hash summ. Summ is mirror-viewing. For example: Text file This is message, length=32 bytes Your program (rehash 0.2) gives result B1C466D3 7519B82E 8319819F F32595E0 47A28CB6 F83EFF1C 6916A815 A637FFFA But really result: FAFF37A6 15A81669 1CFF3EF8 B68CA247 E09525F3 9F811983 2EB81975 D366C4B1...

    2006-12-21 22:04:48 UTC by nobody

  • Comment: Padding output is reversed.

    Here's a fix for the padding. hashmgr.cpp void CHashOutput::_OutputHashBytes(UWORD8 *pHash, UINTPREF uLen) { UINTPREF i; INTPREF j = 0; RH_ASSERT(pHash != NULL); RH_ASSERT(uLen >= 1); if(m_bBase64 == true) { CBase64Codec baseCoder; UWORD32 i32; m_szHashBuffer[0] = 0; i32 = RH_MAX_HASH_STRING; baseCoder.Encode(pHash, uLen, (UWORD8 *)m_szHashBuffer...

    2006-12-10 07:39:11 UTC by petebrubaker

  • Padding output is reversed.

    The padding of the hex output is reversed. The padding is added on the wrong side of the number. It should be prepended and instead it is appended. Current implementation example: CRC16 = 8959 (hex - nopad, little endian) CRC16 = 89590000 (hex - with incorrect padding, little endian) CRC16 = 13789 (decimal) If you were to convert that padded hex value to decimal you would get...

    2006-12-10 07:18:45 UTC by petebrubaker

Our Numbers