You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for pointing this out. It's a really strange one. It seems to only be a problem when you load in an operation from the Regex module. This module imports XRegExp which seems to break the BigNumber.js library in some way, causing BigNumbers to fail the instanceof BigNumber check.
I don't fully understand why this happens, but there is a handy helper function in the BigNumber library called isBigNumber which can be used instead and fixes things.
BRAVO68WEB
pushed a commit
to BRAVO68WEB/CyberChef
that referenced
this issue
May 29, 2022
Prepending the "From Base" operation with the "Register" operation produces an error "Data is not a valid BigNumber".
Here is an example: https://gchq.github.io/CyberChef/#recipe=Register('(.*)',true,false,false)From_Base(16)&input=MHgyMGE
Expected output should just be
522
. Removing the Register operation does not fix the bug, unless you remove it and then refresh.The text was updated successfully, but these errors were encountered: