Encrypting with the private key and decrypting with the public key

Terminal Velocity

Active Member
Joined
Oct 13, 2021
Messages
292
Reaction score
189
Credits
2,094
Why does encrypting the data with the private key to ensure the authenticity of the sender, and decrypting with the public key at the other end essentially make no sense? How is the data owner authenticated?
 


MattWinter

Active Member
Joined
Dec 5, 2022
Messages
114
Reaction score
149
Credits
840
Because only the person with the private key can encrypt something that the public key can decrypt.

This assumes, of course, that no one has stolen the owner's private key. Anyone else trying to encrypt data with their own key would not create something that can be decrypted correctly. The keys are paired. They're created together and only work with each other.

Does that make sense?
 

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
5,874
Reaction score
4,878
Credits
36,691

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
8,549
Reaction score
7,304
Credits
69,523

That's why I voted it up earlier. It was the most clear/concise answer possible. If it'd been me trying to explain it (and I encrypt/sign a lot, though usually emails), I'd have needed four paragraphs and still ended up not mentioning something.
 

MattWinter

Active Member
Joined
Dec 5, 2022
Messages
114
Reaction score
149
Credits
840
That's why I voted it up earlier. It was the most clear/concise answer possible. If it'd been me trying to explain it (and I encrypt/sign a lot, though usually emails), I'd have needed four paragraphs and still ended up not mentioning something.
Oh, thank you!
 
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com

Members online


Latest posts

Top