gchq / gchq/CyberChef

Bug report: The rc4 input box is hard to understand for hex keys.

Open
#2,004 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
35.8k
Forks
4.1k
Avg merge
2d 26m
Merged PRs (30d)
33

Description

**Describe the bug**
I chose `hex` key provision in `rc4` encryption, but when I type `,` it doesn't match the result without the `,` separation

**To Reproduce**
Steps to reproduce the behaviour or a link to the recipe / input used to cause the bug:

1. Select `rc4` operation
2. Enter three identical hex values, `1f,10`, `1f10`, `0x1f,0x10`
3. Different values are output for the same input

**Expected behaviour**
Whatever form of `hex` I enter should represent the only hex content and output exactly the same result

**Screenshots**

![Image](https://github.com/user-attachments/assets/650dad98-f5a5-4096-81b5-7a1e95512396)

![Image](https://github.com/user-attachments/assets/c14a363d-738d-4822-bb72-fad320d3ae55)

![Image](https://github.com/user-attachments/assets/1f19609e-055b-428e-9d83-128269eeff3e)

**Desktop (if relevant, please complete the following information):**
- OS: [Windows]
- Browser: [Chromium 118.0.5993.159]
- CyberChef version: [10.19.4]

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.