I have a hashed value X and need to ensure that any of the data sets D1...Dn can be concatenated with a correctional value C1...Cn and passed into a hashing algorithm to result in the value of X. What I need is a way to figure out what Ci should be in order to ensure that hash( Di ++ Ci ) == X. If I use a simple hash like addition or XOR then it'll be pretty easy, but is there any way to figure out Ci for better hashing algorithms?
Thanks for any help.