Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[Hashing] Decrypt Nintendo DS header during hashing if encrypted #139

Open
Sanaki opened this issue Jun 22, 2021 · 0 comments
Open

[Hashing] Decrypt Nintendo DS header during hashing if encrypted #139

Sanaki opened this issue Jun 22, 2021 · 0 comments

Comments

@Sanaki
Copy link
Member

Sanaki commented Jun 22, 2021

Nintendo DS games are equally playable both encrypted and decrypted. Only about 2KiB of data is affected by the encryption, but unfortunately that section is hashed. Given that systems capable of emulating NDS are easily strong enough to handle the decryption quickly, I suggest we decrypt as part of the hashing process for encrypted roms.

Reference code:
https://github.com/SabreTools/NDecrypt/tree/master/NDecrypt/NDS
https://github.com/TuxSH/wooddumper/tree/master/woodsec

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

No branches or pull requests

1 participant