JWUDTool
JWUDTool copied to clipboard
Invalid AES key length
I used a game key for Breath of the Wild. It was stored in a file called game.key that was 34 bytes, as it was literally just the code with no comments. No matter what, I still get an error of:
java.security.InvalidKeyException: Invalid AES key length: 34 bytes
I don't think it's possible to have a key less than this length.
Upon further inspection of the code, it looks like it's expecting a length of 16 bytes:
if (titlekey.length != 0x10) {
But I don't see how a string of 32 characters can be 16 bytes
Wudump creates a valid game.key for you. https://github.com/FIX94/wudump/releases