You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 20, 2025. It is now read-only.
I was looking through the RSA key code while working on a multiprime addition and noticed two functions called blinded_encrypt and blinded_decrypt. I looked at where they were used and it turns out that the sign function is calling the blinded_encrypt. This is backwards! The RSA RFC says the signing primitive should be identical to the decryption primitive, so we should call blinded_decrypt there instead like we do in the encryption function. In fact, we have no need for a blinded_encrypt function, and by switching over we will improve the speed of signing.