I have an hash function
I can easily compute the hash of the string "hello" like this:
out = hash("hello");
What are the implications from a security point of view of hashing the same string as:
out = IV; out = hash('h' + out); out = hash('e' + out); out = hash('l' + out); out = hash('l' + out); out = hash('o' + out);
I mean hashing single bytes one after another, concatenating the current byte with the previous hash (first hash could be all zeros or some IV).
I know I'll get a completely different hash. Apart from that, what are the security implications of such habit?