Encrypting with your private key is more commonly known as signing. This provides integrity, but not confidentiality. Everyone knows your public key, so they can “decrypt” (verify) the message.
Encrypting with your private key is more commonly known as signing. This provides integrity, but not confidentiality. Everyone knows your public key, so they can “decrypt” (verify) the message.