A co-worker made a Java system that encounters collisions in a series of hash MD5. But he did not stop to analyze the results, made only an assertion that they exist. But I would like to take this away from the proof, does anyone know of the existence of two different passwords that could have the same MD5 hash?
The Wikipedia speaks more about collisions and vulnerabilities.
To clarify the problem, something that seems simple to understand, but that does not seem to have been very clear, what I want is the two distinct values that caused the same MD5 hash, eg typing in Workbench:
set @valor1 := 'senha_distinta1????';
set @valor2 := 'senha_distinta2????';
SELECT MD5(@valor1) AS hashA, MD5(@valor2) AS hashB;
where: hashA = hashB
Obs: I tried to put the following input values to test the suggested examples and both returned in different hash values:
set @a:= "d131dd02c5e6eec4693d9a0698aff95c 2fcab58712467eab4004583eb8fb7f89
55ad340609f4b30283e488832571415a 085125e8f7cdc99fd91dbdf280373c5b
d8823e3156348f5bae6dacd436c919c6 dd53e2b487da03fd02396306d248cda0
e99f33420f577ee8ce54b67080a80d1e c69821bcb6a8839396f9652b6ff72a70";
set @b:= "d131dd02c5e6eec4693d9a0698aff95c 2fcab50712467eab4004583eb8fb7f89
55ad340609f4b30283e4888325f1415a 085125e8f7cdc99fd91dbd7280373c5b
d8823e3156348f5bae6dacd436c919c6 dd53e23487da03fd02396306d248cda0
e99f33420f577ee8ce54b67080280d1e c69821bcb6a8839396f965ab6ff72a70";
set @a:=Replace(@a," ","");
set @a:=Replace(@a,"
","");
set @b:=Replace(@b,"
","");
set @b:=Replace(@b," ","");
SELECT MD5(@a) as hashA, MD5(@b) as hashB, @a as valorA, @b as valorB;