Akash
Akash

Reputation: 29

Can 2 files have "same" "many" "different" types of hash?

I know that hash collision is possible with large number of files. But i want to know if 2 files can share "many , different" types of hash.
I have 2 hashes SHA256 and BLAKE256 (Both will result in different hashes)
For example:
File A have SHA256 hash : jhsj8sd87a89sihd8d78a7... etc.
And BLAKE256 : js8us8d8saa621g2h34hg... etc.
So what is the probability that a File B will have the same SHA256 and BLAKE256 when hashed.
And will chance of collision decreases with more hashes, Say 5.
Note : Both the files A and B have exactly same size but different content.
I have read on internet about hash collision with 2 hashes. But here is the case of 4 hashes. 2 of File A and 2 of file B.
And both types are different, one is SHA256 and one is BLAKE256.

Upvotes: 1

Views: 509

Answers (0)

Related Questions