Verify and regenerate HMAC hashes of encrypted files.
Example
Modcrypted files inside the DSi program are automatically decrypted when using Binary2NitroRom. In a similar way, they are encrypted when using NitroRom2Binary depending on the header info value ModcryptAreaXTarget.
To manually encrypt or decrypt a file from a DSi program use:
var modcrypt = Modcrypt.Create(programInfo, area);
using var outputStream = modcrypt.Transform(inputStream);
Description
Example
Modcrypted files inside the DSi program are automatically decrypted when using
Binary2NitroRom
. In a similar way, they are encrypted when usingNitroRom2Binary
depending on the header info valueModcryptAreaXTarget
.To manually encrypt or decrypt a file from a DSi program use:
This closes #11