Hacker News new | ask | show | jobs
by MattPalmer1086 1609 days ago
No. Encryption is just one type of cryptography, used to make data unreadable without the secret key. Signatures are something else, used to prove that the holder of a secret signed the public data. Zero knowledge proofs are another, used to prove you know a secret without revealing it. It's a fascinating subject.
1 comments

I'm not saying all cryptography is encryption, I'm not even really talking about signatures, I'm specifically talking about asymmetric cryptography. I don't see any example of "asymmetric cryptography" which is not just a usage of public-private key encryption.
Asymmetric cryptography just refers to cryptography that uses public/private key pairs.

Encryption is just a sub type of cryptography. In fact, signatures are a more common use of asymmetric cryptography than asymmetric encryption.

If you're talking specifically about RSA, then it's true that encryption and signatures both use the same type of asymmetric math, but in opposite directions. But most asymmetric cryptography doesn't have this property.