Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Razmoth committed Aug 31, 2023
1 parent 6d12806 commit dedaa3f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions AssetStudio/ImportHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -786,8 +786,7 @@ public static FileReader DecryptAliceGearAegis(FileReader reader)
var data = reader.ReadBytes((int)reader.Remaining);
for (int i = 0; i < encryptedBlock.Length; i++)
{
encryptedBlock[i] ^= key[seed % key.Length];
seed++;
encryptedBlock[i] ^= key[seed++ % key.Length];
}

Logger.Verbose("Decrypted Alice Gear Aegis file successfully !!");
Expand Down

0 comments on commit dedaa3f

Please sign in to comment.