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.
Read moreWhich IPsec protocol provides both data integrity and encryption?
The ESP protocol provides secure transmission through both encryption and authentication.
Read moreWhich protocol is used for confidentiality and integrity?
Transport Layer Security (TLS) is a protocol designed to add confidentiality as well as integrity and authenticity to network communications.
Read more