Kindly log in to use this feature. We’ll take you to the login page automatically.
LoginGeneral Tech Bugs & Fixes 3 years ago
User submissions are the sole responsibility of contributors, with TuteeHUB disclaiming liability for accuracy, copyrights, or consequences of use; content is for informational purposes only and not professional advice.
A quick look into the PHP code showed that PHP only understands the Tiger hash (the first one with incorrect com/tag/bit">bit padding).
It also showed that their implementation of Tiger may contain "additional passes", where each pass consists of 8 rounds (only called for values higher than 3). The value of passes is displayed behind the hash function:
#define compress(passes) \ save_abc \ pass(a,b,c,5) \ key_schedule \ pass(c,a,b,7) \ key_schedule \ pass(b,c,a,9) \ for(pass_no=0; pass_nochedule \ pass(a,b,c,9) \ tmpa=a; a=c; c=b; b=tmpa; \ } \ feedforward
There seems to be no documentation other than this. Don't use cryptographic primitives that lack any com/tag/description">description.
I've generated the same C1... hash by adding the 8 additional rounds in a Java application (and then deleted said Java implementation).
No matter what stage you're at in your education or career, TuteeHUB will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.
Kindly log in to use this feature. We’ll take you to the login page automatically.
LoginReady to take your education and career to the next level? Register today and join our growing community of learners and professionals.
Your experience on this site will be improved by allowing cookies. Read Cookie Policy
Your experience on this site will be improved by allowing cookies. Read Cookie Policy
manpreet
Best Answer
3 years ago
PHP supports hashing of the following Tiger algorithms:
Wikipedia's entry on Tiger says there's Tiger and Tiger2 and provides samples of Tiger and Tiger2 with 192-bit hashes of "The quick brown fox jumps over the lazy dog". So I tried to get PHP to tell me what the hashes of
tiger192,3andtiger192,4are and...The output of tiger192,3 matches what Wikipedia says the output is for Tiger(1). But tiger192,4's output does not match the output for Tiger2.
Tiger2's output is as follows:
tiger192,4's output is as follows:
tiger192,3 and Tiger's output is as follows:
So what is tiger192,4?