Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

String Decryption Update #12

Open
andrewathalye opened this issue Apr 25, 2022 · 0 comments
Open

String Decryption Update #12

andrewathalye opened this issue Apr 25, 2022 · 0 comments

Comments

@andrewathalye
Copy link

TLDR: See https://github.com/andrewathalye/destiny-string-tool/blob/master/src/string_tool.adb

It looks like string decryption occurs by converting the raw string to utf 32 and adding the obfuscation to each utf32 character. There is also a mode where the raw string is directly interpreted as utf-16le (no obfuscation) if the obfuscator value is 0 or Decode_Mode is 240 (this value is not handled by PkgText.)

Changing the string decode to work like this should reduce complexity and also make languages like Japanese, Russian, French, Korean, and both forms of Chinese no longer corrupted.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant