Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Apr 20, 2025. It is now read-only.

Add range checks todecrypt_int anddecrypt_int_fast#241

Open
myheroyuki wants to merge2 commits intosybrenstuvel:main
base:main
Choose a base branch
Loading
frommyheroyuki:python-rsa-235

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 ofdecrypt_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 freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@myheroyuki

[8]ページ先頭

©2009-2025 Movatter.jp