aboutsummaryrefslogtreecommitdiff
path: root/tests/core/encoding/base32/base32.odin
Commit message (Collapse)AuthorAgeFilesLines
* encoding/base32: Fix padding validation for malformed inputZoltán Kéri2025-12-271-3/+11
| | | | | | | | | | | Fix a bug where padding characters in the middle of input were not detected when there was no trailing padding. The "verify no padding in middle" check was inside `if padding_count > 0`, so inputs like "MZ===YTBMZXW6YTB" would incorrectly pass validation. Test case added for this edge case.
* Package lines for base32, move its tests to tests"Jeroen van Rijn2025-10-091-0/+231