Hacker News new | past | comments | ask | show | jobs | submit login

> which are RSA decryption keys

Is RSA "decryption" key a thing? It should be a key pair that allows for both encryption and decryption (though you may just care about one use case).




You can encrypt to a RSA public key, then decrypt with the private key.

You can sign with an RSA private key, then validate the signature with the public key.

The two pairs of operations are very similar, but not quite the same due to differences in how padding is handled.


RSA is very slow for decryption. The general approach is tp use RSA to encrypt / decrypt the key of a symmetric encryption algorithm, that is much faster.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: