asweigart / asweigart/codebreaker
makeRsaKeys.py - line 64 - Typo
Open
- Dominant language
- Python
- Stars
- 364
- Forks
- 152
- PR merge metrics
- No merged PRs in 30d
Description
line 64 in makeRsaKeys.py should be
` print('The private key is a %s and a %s digit number.' % (len(str(privateKey[0])), len(str(privateKey[1]))))`
instead of:
` print('The private key is a %s and a %s digit number.' % (len(str(publicKey[0])), len(str(publicKey[1]))))`
Contributor guide
No contributing guide indexed for this repository
Research direction
Open makeRsaKeys.py and inspect line 64, comparing the current message with the issue's proposed expression. Change the message to use privateKey values, then run the script or its existing checks and confirm that the reported digit lengths come from the private key.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cryptography
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100