Hacker News new | past | comments | ask | show | jobs | submit login
How to encrypt with low entropy secrets (filippo.io)
4 points by FiloSottile 7 months ago | hide | past | favorite | 3 comments



There are also password-authenticated key agreement (PAK) protocols, for obtaining strong security from weak passwords. They are useful in certain use cases.

Magic-wormhole uses a version of that. You encrypt files securely with a couple of words.


They have different use cases: with PAKEs you encrypt a connection, not a file. You can’t use PAKEs to encrypt backups. Or, rather, you can but then the two sides just have to store the key, making it not fit for e2ee use cases. It’s password authenticated key exchange, not password derived keys.

(Well, the WhatsApp solution actually uses a PAKE to talk to the HSM, but the HSM is still necessary.)


Exactly!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: