This is impossible to do.
The hash is not a compressed version of the original value; it is a number (or something similar) derived from the original value. The nature of the implementation of the hash is that it is possible (but statistically unlikely if the hashing algorithm is good) that two different objects create the same hash value.
Pigeonhole, , N M , N , M (.. , ), , . - , , , .
, , . .
, ( ) - 3 (.. 3). :
1
2
3
4
- , :
...?
, , , " ".
, 3 :
- /, , gzip zlib ( / )
- /, , RSA, AES .
- /, , , ,