I am using bitcoinlib
in python to create bitcoin wallet as shown here. My question is that how random private keys are which are generated by bitcoinlib
?
For example Alice has private key '5ThisIsMyPrivateKey' which was created by some other program (bitcoin core, coinbase, hitbtc or anyone) and I am using bitcoinlib
and I have a wallet for Bob and Bob's private key generated by bitcoinlib
can be '5ThisIsMyPrivateKey'? What is possibility of it?
Another question is that is there a possibility of having same public key of two or more private key? I have seen lots of different private key structure when I was looking for information and I found three of examples where private keys starts with "5", "K" and "L" so is it possible that same public address can be created by using either of private key version?
I am still new here at encryption and bitcoin and I am just looking for information.
Thanks for your time.