I was wondering if the following hash function
f(x) := md5(x) & md5('abc'&x)
(with & as concatenation operator) is secure.
This schema can be even extended like this:
g(x) := md5(x) & md5('abc'&x) & md5('def'&x)
To find a collission in f(x), following requirements would be met:
f(x)=f(x'), x!=x' <==> md5(x)=md5(x') ^ md5('abc'&x)=md5('abc'&x')
or
g(x)=g(x'), x!=x' <==> md5(x)=md5(x') ^ md5('abc'&x)=md5('abc'&x') ^ md5('def'&x)=md5('def'&x')
Is this realistic that such a condition can be found? I can't imagine that.
[I would be happy to learn more about the math behind it]