gchq/CyberChef

Feature request: Improve highlighting by using sourcemaps

Open

#267 aperta il 23 mar 2018

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (3944 fork)batch import
featurehelp wanted

Metriche repository

Star
 (34.843 star)
Metriche merge PR
 (Merge medio 57g 13h) (62 PR mergiate in 30 g)

Descrizione

Summary

Operation highlighting is currently calculated using offsets. For example, highlighting "Hello" in the input will highlight the corresponding bytes in the output.

This is not particularly reliable when formats are changed or for more complex operations. A better solution would be to generate some form of sourcemap while running certain operations. This would reveal exactly how the input maps to the output.

Some research is required to work out how to carry this out efficiently and how best to architect the solution.

Guida contributor