gchq / gchq/CyberChef

Feature request: From Signed Integer -> Hex

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

Description

I'm not 100% sure if that feature is already implemented or can be archvied via a workaround.

But what I came across would be :

Input : -6948
Output with "To Hex" : 2d 36 39 34 38

What I expected : FF FF E4 DC

Am I doing something wrong or is this behaviour expected ?

Thanks in advance.

Contributor guide

Open the contributing guide

Research direction

Start by checking the existing "To Hex" operation and how it handles the signed integer example -6948. Confirm whether the requested output is intended behavior, then document or implement the agreed negative-integer conversion and verify that existing hexadecimal conversions still work.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.