sciresm / ctraesengine Goto Github PK
View Code? Open in Web Editor NEWC# Library to simulate the 3DS's hardware AES engine.
License: GNU General Public License v3.0
C# Library to simulate the 3DS's hardware AES engine.
License: GNU General Public License v3.0
Hey there,
I downloaded the whole and didn't change anything in the code. Now I tried to decrypt a .3ds file with DecryptGameNCSD(), which failed.
The code threw an exception at AESEngine.cs Line 812 that the BigInteger for the parameter exponent must not be negative.
I then tried to execute the UnitTests to see if I misunderstood something and if they could help me after executing correct. But all 8 UnitTests failed.
Could you help finding out the problem?
Hey there,
I have an issue with decrypting NCCH partitions. After looking through the code for a few days now I don't know where the error could be. I think it's a problem with the generation or handling of the normal key because the keys from the bootrom and the reading of NCCH information is working all good. But don't pin me on that.
I will link a few example files for testing purposes. It's just the NCCH partition header and the exheader information, so Decrypt(Stream,Stream,0x800) has to be used on these files. The decryption is applied to the right parts of the ROM but is executed wrong it seems. My bootrom and the keyslot contents were checked multiple times. At least nothing was null. So the keys could be wrong.
https://mega.nz/#F!44xF3QYQ!iYdcBptT7N4_aHRp5WBJ0Q
ncch0.enc is the original encrypted part, ncch0.dec the decrypted information by the Decrypt9 and ncch0.wrongDec is the one decrypted by this library.
Hope you can help me again.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.