Skip to content
This repository was archived by the owner on Apr 20, 2025. It is now read-only.

Conversation

myheroyuki
Copy link
Contributor

Add cyphertext range checks to core decryption functions to make PythonRSA PKCS#1 compliant. I had to change the signature of decrypt_int_fast to take the modulus otherwise I couldn't make the range check, but this was an internal function so it shouldn't break anything.

refactor to prevent code duplication
pass modulus to decrypt_int_fast
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant