Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant