Giter Club home page Giter Club logo

ctraesengine's People

Contributors

caitsith2 avatar sciresm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ctraesengine's Issues

Failing BigInteger and not-working UnitTests

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?

Wrong decrypted data

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.