I'm creating an ethereum wallet and I need to save the wallet data locally at the user's computer. I am, obviously, encrypting the private key. Should I also encrypt the public key?
My main question about this is because what the user shares to get transaction is not the public key but the address, so I imagine that giving away the public key could be somehow a security threat.
Could someone please elaborate on this?