We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I had a small array of signed decimals e.g. -4,-24,-119,0... and I wanted to convert them into hexadecimals.
"To Decimal" throws an error.
Perhaps it would be great to have a checkbox for "signed" or some way to convert to unsigned e.g.:
var x = [ -4,-24,-119,0]; x.forEach(function(s) { document.write((s < 0 ? (0xFF + s + 1) : s).toString(16)); } );
The text was updated successfully, but these errors were encountered:
https://gchq.github.io/CyberChef/#recipe=Fork(',',',',false)Conditional_Jump('%5E%5C%5Cs*(%5C%5Cd%2B)',4,10)Regular_expression('User%20defined','%5E%5C%5Cs*-(%5C%5Cd%2B)',true,true,false,'List%20capture%20groups')From_Decimal('Space')XOR(%7B'option':'Hex','string':'FF'%7D,'Standard',false)To_Charcode('Space',10)Merge()From_Decimal('Comma')To_Hex('Comma')&input=LTQ0LCAtNiwgNTUsIC0yMiwgMzM This is long and complex but it works. Maybe some better number parsing and math operations would fix this?
Sorry, something went wrong.
Enable parsing of negative decimals gchq#176
5de3c94
a276378
Closed in #390.
No branches or pull requests
Summary
I had a small array of signed decimals e.g. -4,-24,-119,0... and I wanted to convert them into hexadecimals.
"To Decimal" throws an error.
Perhaps it would be great to have a checkbox for "signed" or some way to convert to unsigned e.g.:
The text was updated successfully, but these errors were encountered: