this post was submitted on 04 Dec 2024
137 points (89.6% liked)

Privacy

32482 readers
302 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

much thanks to @gary_host_laptop for the logo design :)

founded 5 years ago
MODERATORS
 

Archived, if you prefer that: https://ghostarchive.org/archive/Bif16

you are viewing a single comment's thread
view the rest of the comments
[–] Txmyx@feddit.org 1 points 3 weeks ago (3 children)

Why are these apps getting hacked? Wouldn't just RSA 2048 be enough?

[–] CAVOK@lemmy.world 3 points 3 weeks ago

Probably an implementation issue. Make a small error there, like storing parts of a key in memory or something like that and you've compromised security.

[–] oldfart@lemm.ee 3 points 3 weeks ago (2 children)

Encryption is easy, key exchange is not

[–] FrederikNJS@lemm.ee 2 points 3 weeks ago (1 children)

Encryption is really really hard, and avoiding some form of sidechannel attack is much much harder.

Sure key exchange also isn't trivial, but I would say that key exchange is significantly easier. Care to elaborate?

[–] XTL@sopuli.xyz 0 points 3 weeks ago

Encryption is trivial. Getting a reliable keystream is not.

It all depends on the framing 😁

[–] Irelephant@lemm.ee 2 points 3 weeks ago

The real matrix's key exchange is pretty headacheless, is there any downsides to it?

[–] FrederikNJS@lemm.ee 1 points 3 weeks ago

RSA doesn't scale, so if the message is large then RSA becomes unwieldy. So most encryption methods that make use of RSA actually encrypt the data with a symmetric algorithm, and then just encrypt the key for the symmetric data using the RSA key.

But there is still way way way too many ways to implement crypto wrong, which can completely compromise the security of it.