I have a doubt about the use of:
Pay to Pubkey Hash address (P2PKH): 17VZNX1SN5NtKa8UQFxwQbFeFc3iqRYhem
Pay to script hash address (P2SH) : 3EktnHQD7RiAE6uzMj2ZifT9YgRrkSgzQX
I know that the starting "1" and "3" are added after sha256 + ripemd160, to get "1" I have to add a "00" prefix and to get "3" a "05" prefix before the Base58 encoding.
So, let's imagine I have a private key k, then I compute the public key kG : (x,y), then I perform
sha256(ripemd160(x,y)). Now I have a 160bit string s.
My question is: if i made a Base58 encoding of "05+s" instead of "00+s" and I got the address 3EktnHQD7RiAE6uzMj2ZifT9YgRrkSgzQX, I could spend the bitcoin of that address?
In other words: from a single private key k, how many different addresses can we get?
Surely there are at least 2 pubkey hash addresses (compressed and uncompressed public key), but in theory is it possible to get a pay to script address too from a single private key?