Answer the question
In order to leave comments, you need to log in
Which values have the same hash?
What numbers have the same hash?
I’m solving the IS Olympiad and I don’t rummage for the hash, the code is given:
function firstGame(){
if (isset($_GET['game1_green']) and isset($_GET['game1_red'])){
if ($_GET['game1_green'] == $_GET['game1_red'])
echo "Not so easy!";
else if (sha1($_GET['game1_green']) === sha1($_GET['game1_red'])){
echo "Good job! You've past the first game! <br>";
return;
}
}
die();
}
else if (sha1($_GET['game1_green']) === sha1($_GET['game1_red'])){
Answer the question
In order to leave comments, you need to log in
You need to find the SHA1 collision. Or use a collision that someone already found: https://shattered.it/static/shattered.pdf
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question