gchq / gchq/CyberChef

Feature request: Hexedit style editor choise

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

Description

I think it would be great if the input field could be used as a normal textfield and alternatively in some kind of "hexedit" mode.

In this mode we could see two panes, one with the hex representation of the input, and another with the text representation. Selecting a byte in the hex pane would highlight the character in the text pane and vice versa. A bit like the tool "hexedit" works on linux.

Editing the input in either of the panes would update the other accordingly.

This would make inputting and editing the input of binary data much easier.

ATM this can be achieved by first using "To Hexdump" on the data, copying the output to input and then chaging the recipe to first include "From Hexdump" and then the other operator(s). This is however quite tedious and not that practical as the byte you are editing in the hexdump is not that obvious.

Contributor guide

Open the contributing guide

Research direction

Start by locating the input field UI and the existing “To Hexdump” and “From Hexdump” operations. Define how the hex and text panes should stay synchronized, including selection and editing in either pane. Done means binary input can be viewed and edited in both representations without the current recipe workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.