mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
use XoredStream instead of CryptoStream with XorTransform.
This commit is contained in:
@@ -140,7 +140,7 @@ namespace GameRes.Formats.Aoi
|
||||
var barc = arc as BoxArchive;
|
||||
if (null == barc)
|
||||
return input;
|
||||
return new CryptoStream (input, new XorTransform (barc.Key), CryptoStreamMode.Read);
|
||||
return new XoredStream (input, barc.Key);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user