This question already has an answer here:
I am new at ethereum.
I've been reading the white paper and it says that the smart contracts have public keys, but I found nothing on how to get them.
So my question is how to get a smart contract's public key in code ? and is it possible for it to generate one ?