-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
boost ArchiveStorageDecryptor.decrypt_block with cpp implementation #279
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The core part looks good.
I just want some changes to the Python api usage.
In fact, while |
You're right, I meant Thanks for the adjustments and also again for the work. |
On my device loading UnityCN encrypted file via
env = UnityPy.load(“test”)
For the original Python implementation, a 10MB file takes roughly 7.8s, and a 50MB file takes roughly 30s
But the cpp implementation only takes 0.076s and 0.24s respectively.
I can provide some test files if needed
(Only tested it on windows using msvc compilation, but I guess other platforms won't have any problems with it)