mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-11 00:31:31 -04:00
0x[Hex] operation added
This commit is contained in:
parent
f1449ac869
commit
112af3c74b
4 changed files with 29 additions and 0 deletions
|
@ -391,6 +391,15 @@ var OperationConfig = {
|
|||
}
|
||||
]
|
||||
},
|
||||
"From 0x[Hex]": {
|
||||
description: "Converts a hexadecimal byte string back into a its raw value.<br><br>e.g. <code>0x217e21</code> becomes the UTF-8 encoded string <code>!~!</code>",
|
||||
run: ByteRepr.runFrom0xHex,
|
||||
highlight: ByteRepr.highlightFrom,
|
||||
highlightReverse: ByteRepr.highlightTo,
|
||||
inputType: "string",
|
||||
outputType: "string",
|
||||
args: []
|
||||
},
|
||||
"From Hex": {
|
||||
description: "Converts a hexadecimal byte string back into a its raw value.<br><br>e.g. <code>ce 93 ce b5 ce b9 ce ac 20 cf 83 ce bf cf 85 0a</code> becomes the UTF-8 encoded string <code>Γειά σου</code>",
|
||||
run: ByteRepr.runFromHex,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue