Skip to content

fix: address leftover open bugs - #17

Merged
slapec93 merged 3 commits into
mainfrom
fix/opening-bugs
Sep 25, 2026
Merged

slapec93 merged 3 commits into
mainfrom
fix/opening-bugs

Conversation

@slapec93

Copy link
Copy Markdown
Collaborator
  • Bytes copies its input, so changing the caller's array later no longer changes the object.
  • base32 pads to a multiple of 8, as RFC 4648 specifies (it used to pad to 4)
  • hexToUint8Array throws on invalid or odd-length hex
  • rsEncode([]) throws a clear error instead of a TypeError
  • xorCypher throws on an empty key instead of returning the input unchanged
  • Stamper rejects a batch depth that isn't a whole number above 16
  • indexOf returns start for an empty needle instead of -1

@slapec93
slapec93 requested a review from Cafe137 September 25, 2026 09:11
@slapec93
slapec93 merged commit d977750 into main Sep 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants