René's URL Explorer Experiment


Title: [R23-T014] Property tests and padding bug fixes for ciphers/base32.py by muqeetshaikh · Pull Request #91 · S-AI-Projects/TheAlgorithms-Python · GitHub

Open Graph Title: [R23-T014] Property tests and padding bug fixes for ciphers/base32.py by muqeetshaikh · Pull Request #91 · S-AI-Projects/TheAlgorithms-Python

X Title: [R23-T014] Property tests and padding bug fixes for ciphers/base32.py by muqeetshaikh · Pull Request #91 · S-AI-Projects/TheAlgorithms-Python

Description: Description Fixes padding calculations and arbitrary byte handling in ciphers/base32.py verified using Hypothesis property-based testing against Python's standard base64 reference implementation. Related Issue Fixes: #18 Type of Change Bug Fix Tests Changes Made Fixed base32_encode(b"") returning b"A=======" instead of b"". Fixed incorrect extra 8-byte padding appended when input length is a multiple of 5. Removed invalid .decode("utf-8") calls to allow arbitrary non-UTF8 byte sequences (e.g. b"\xff"). Added Hypothesis property test suite in work/R23-T014/test_base32_properties.py testing 1,000 examples per property. Added doctests covering RFC 4648 padding test vectors (lengths 0–5) and invalid decode inputs. Testing Tested with uv run --with hypothesis pytest work/R23-T014/ -v (2/2 passed, 2,000 examples). Tested with uv run pytest ciphers/base32.py (passed). Checklist I have tested my changes locally. I have added or updated tests, if needed. I have updated documentation, if needed. I have followed the project's coding guidelines. I have run the relevant tests and checks. I have addressed previous review feedback, if applicable.

Open Graph Description: Description Fixes padding calculations and arbitrary byte handling in ciphers/base32.py verified using Hypothesis property-based testing against Python's standard base64 reference implementatio...

X Description: Description Fixes padding calculations and arbitrary byte handling in ciphers/base32.py verified using Hypothesis property-based testing against Python's standard base64 reference implement...

Opengraph URL: https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/91

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:0761a9b3-d063-395e-cb89-f4c0200ca8d8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC0A8:3B40F2:30AE1B:454530:6AFE05D1
html-safe-nonce7212f356aba890bac1414f8e9a29e0821fd0df5a7ec4107b5b16f0d0675f9614
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMEE4OjNCNDBGMjozMEFFMUI6NDU0NTMwOjZBRkUwNUQxIiwidmlzaXRvcl9pZCI6IjM0MzczODM2ODczNzk3NDgzMDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3f98da6c4066010b1e98188abdb7c5836e8e7b19dab9bccfc09397060e50ed81
hovercard-subject-tagpull_request:5363306000
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/91/files
twitter:imagehttps://avatars.githubusercontent.com/u/293642009?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/293642009?s=400&v=4
og:image:altDescription Fixes padding calculations and arbitrary byte handling in ciphers/base32.py verified using Hypothesis property-based testing against Python's standard base64 reference implementatio...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None86d46ece7c3d9b0562692f81a135cb55ad6a1c82c93ab1ac874d2f1b46b28958
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/S-AI-Projects/TheAlgorithms-Python git https://github.com/S-AI-Projects/TheAlgorithms-Python.git
octolytics-dimension-user_id351892385
octolytics-dimension-user_loginS-AI-Projects
octolytics-dimension-repository_id1444141022
octolytics-dimension-repository_nwoS-AI-Projects/TheAlgorithms-Python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id63476337
octolytics-dimension-repository_parent_nwoTheAlgorithms/Python
octolytics-dimension-repository_network_root_id63476337
octolytics-dimension-repository_network_root_nwoTheAlgorithms/Python
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5c18e6799976b7bc2f21178024289bb98edbcc85
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/91/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FS-AI-Projects%2FTheAlgorithms-Python%2Fpull%2F91%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FS-AI-Projects%2FTheAlgorithms-Python%2Fpull%2F91%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=S-AI-Projects%2FTheAlgorithms-Python
Reloadhttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/91/files
Reloadhttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/91/files
Reloadhttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/91/files
S-AI-Projectshttps://github.com/S-AI-Projects
TheAlgorithms-Pythonhttps://github.com/S-AI-Projects/TheAlgorithms-Python
Codehttps://github.com/S-AI-Projects/TheAlgorithms-Python
Issues60 (60)https://github.com/S-AI-Projects/TheAlgorithms-Python/issues
Pull requests39 (39)https://github.com/S-AI-Projects/TheAlgorithms-Python/pulls
Actionshttps://github.com/S-AI-Projects/TheAlgorithms-Python/actions
Projectshttps://github.com/S-AI-Projects/TheAlgorithms-Python/projects
Security and qualityhttps://github.com/S-AI-Projects/TheAlgorithms-Python/security
Insightshttps://github.com/S-AI-Projects/TheAlgorithms-Python/insights
Sign up for GitHub https://github.com/signup?return_to=%2FS-AI-Projects%2FTheAlgorithms-Python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FS-AI-Projects%2FTheAlgorithms-Python%2Fissues%2Fnew%2Fchoose
muqeetshaikhhttps://github.com/muqeetshaikh
S-AI-Projects:masterhttps://github.com/S-AI-Projects/TheAlgorithms-Python/tree/master
muqeetshaikh:student/e26b07f0731/R23-T014https://github.com/muqeetshaikh/TheAlgorithms-Python/tree/student/e26b07f0731/R23-T014
Conversation 0 https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/91
Commits 1 https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/91/commits
Checks 0 https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/91/checks
Files changed https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/91/files
Please reload this pagehttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/91/files
[R23-T014] Property tests and padding bug fixes for ciphers/base32.py https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/91/files#top
Show all changes 1 commit https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/91/files
51ccbb2 fix(ciphers): fix base32 padding and arbitrary bytes handling verifie… muqeetshaikh Nov 17, 2026 https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/91/commits/51ccbb2c779085f35009d920e119433e8eec52bf
Clear filters https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/91/files
Please reload this pagehttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/91/files
Please reload this pagehttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/91/files
base32.py https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/91/files#diff-5c42b34ab2f67eb354b491cae1ede9c5fa32af691ec85f745a4cfbc33bb30878
PROPERTIES.md https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/91/files#diff-9d32d07f304bed9c172704d22e0784b32f691e0c66ed2339c5e02a9f24bfce99
test_base32_properties.py https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/91/files#diff-3474465d97b32ea6d9c1c1acfe3909bcf33b17ec6bf8e219559b13ccb8c315ee
ciphers/base32.pyhttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/91/files#diff-5c42b34ab2f67eb354b491cae1ede9c5fa32af691ec85f745a4cfbc33bb30878
View file https://github.com/S-AI-Projects/TheAlgorithms-Python/blob/51ccbb2c779085f35009d920e119433e8eec52bf/ciphers/base32.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/91/{{ revealButtonHref }}
https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/91/files#diff-5c42b34ab2f67eb354b491cae1ede9c5fa32af691ec85f745a4cfbc33bb30878
https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/91/files#diff-5c42b34ab2f67eb354b491cae1ede9c5fa32af691ec85f745a4cfbc33bb30878
https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/91/files#diff-5c42b34ab2f67eb354b491cae1ede9c5fa32af691ec85f745a4cfbc33bb30878
work/R23-T014/PROPERTIES.mdhttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/91/files#diff-9d32d07f304bed9c172704d22e0784b32f691e0c66ed2339c5e02a9f24bfce99
View file https://github.com/S-AI-Projects/TheAlgorithms-Python/blob/51ccbb2c779085f35009d920e119433e8eec52bf/work/R23-T014/PROPERTIES.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/91/{{ revealButtonHref }}
work/R23-T014/test_base32_properties.pyhttps://github.com/S-AI-Projects/TheAlgorithms-Python/pull/91/files#diff-3474465d97b32ea6d9c1c1acfe3909bcf33b17ec6bf8e219559b13ccb8c315ee
View file https://github.com/S-AI-Projects/TheAlgorithms-Python/blob/51ccbb2c779085f35009d920e119433e8eec52bf/work/R23-T014/test_base32_properties.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/S-AI-Projects/TheAlgorithms-Python/pull/91/{{ revealButtonHref }}
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.