Skip to content
This repository was archived by the owner on Feb 20, 2025. It is now read-only.

Incorrect parsing of hex values #27

Open
MikhailRyazanov opened this issue May 13, 2024 · 0 comments
Open

Incorrect parsing of hex values #27

MikhailRyazanov opened this issue May 13, 2024 · 0 comments

Comments

@MikhailRyazanov
Copy link

ykparse (and probably everything else) incorrectly parses hexadecimal strings with upper-case letters. Namely, all upper-case letters are treated as zeros instead of treating the letters AF the same way as af (and all other symbols besides 09, AF, af as input errors).

Example:

$ ykparse 0123456789ABCDEFGHIJKLMNOPQRSTUV cbdefghijklnrtuvcbdefghijklnrtuv
Input:
  token: cbdefghijklnrtuvcbdefghijklnrtuv
          01 23 45 67 89 ab cd ef 01 23 45 67 89 ab cd ef 
  aeskey: 0123456789ABCDEFGHIJKLMNOPQRSTUV
          01 23 45 67 89 00 00 00 00 00 00 00 00 00 00 00 
...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant