Ok, that are the same contents. But what is the way to display the result as the others I have still obtained.
 
thx for your help
 
Yann
----- Original Message -----
Sent: Tuesday, May 03, 2005 3:40 AM
Subject: Re: problem with tiger algorithm

Just same contents: 3 x 64 bits numbers, represented by opposite endianness.

Renzo

Yann wrote:
Using the crypto++ library 5.2.1, when we applied the tiger function with the word "aze", we obtained 0B0FD1D46C71D46E3814C9E281E1EA7DDEA52447584AC3F7.
We tried to compare the result with two other implementations of the hash algo. The first one is with the mhash module of php4. The source code is the
following :
<?php
$input = "aze";
$hash = mhash (MHASH_TIGER , $input);
echo "Tiger hash : ".bin2hex ($hash)."<br />\n";
?>
And we obtained 6ed4716cd4d10f0b7deae181e2c91438f7c34a584724a5de.
We also tried with the gcrypt lib which produces exactly the same result as mhash (the source code is longer but available on request).
So we would like to know if there is a bug in your library or if we have made a bad use of the library.
As attachment my source
 
Thx for your help  

Reply via email to