Skip to content

Conversation

Blank0120
Copy link

When using updateString or signString method in jsrsasign package, may case unexpected result because of jsrsasign using Deprecated method unescape. For example:

unescape(encodeURIComponent(String.fromCharCode(0x82))) // 'Â\x82'
decodeURIComponent(encodeURIComponent(String.fromCharCode(0x82))) //'\x82'

So should use updateHex, and signHex method, which could avoid this case.

example of CyberChef Link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant