I am a bit confused here. I know that a public address is generated from the private key which you should keep secret, or else, anyone who has it will be able to spend the coins "in that address".
However, when i was checking this link:
https://blockchain.info/address/dd9c56410b2e734e551fc34331a056b70e939c98
containing the hash160 address, blockchain.info showed me that the address from which this hash160 was made is the following: 1MCmcsjzocP68LyBZznA3tjRMvGd4eQRx1
However, if i navigate to this link:
https://blockchain.info/address/3MtnYRESMWhUDWfch6SkUX6MWSZLcYpRc1
blockchain.info will show me that the hash160 generated from the address : 3MtnYRESMWhUDWfch6SkUX6MWSZLcYpRc1
is the same as the one generated from 1MCmcsjzocP68LyBZznA3tjRMvGd4eQRx1
.
I know that hashing is not a one to one function, it 'is' a many-to-one function but in this case,
My sub-questions are the following:
1) is it possible to get the real address (e.g : 1MCmcsjzocP68LyBZznA3tjRMvGd4eQRx1 or 3MtnYRESMWhUDWfch6SkUX6MWSZLcYpRc1) from the hash160 address (dd9c56410b2e734e551fc34331a056b70e939c98)?
2) why is blockchain.info showing me the the address of the hash160 (dd9c56410b2e734e551fc34331a056b70e939c98) is 1MCmcsjzocP68LyBZznA3tjRMvGd4eQRx1
and not 3MtnYRESMWhUDWfch6SkUX6MWSZLcYpRc1
?