gchq / CyberChef

The Cyber Swiss Army Knife - a web app for encryption, encoding, compression and data analysis
https://gchq.github.io/CyberChef
Apache License 2.0
28.21k stars 3.18k forks source link

Bug report: ROT13 of numbers not commutative #1526

Open shinmai opened 1 year ago

shinmai commented 1 year ago

Describe the bug ROT13 of numbers is not commutative/symetric. Applying an identical ROT13 operator with "Rotate numbers" enabled twice to an input with numbers in it won't result in the original input.

To Reproduce Link to recipe

Expected behaviour Expecto be able to decipher a string ciphered with a ROT13 operator with a ROT13 operator with identical settings.

Screenshots

Desktop (if relevant, please complete the following information):

shinmai commented 1 year ago

I should clarify I don't expect anyone to perform the impossible task of making the ROT13 operator be commutative for number digits, but think it's a bug there's no notice in the UI of the fact the operator becomes asynchronous if the "Rotate numbers" option is enabled.
Ultimately the existence of the option seems like the actual bug.