mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
(InputCryptoStream): new class derived from CryptoStream.
properly dispose transformations used by CryptoStream.
This commit is contained in:
@@ -127,7 +127,7 @@ namespace GameRes.Formats.Selene
|
||||
var kpe = entry as KcapEntry;
|
||||
if (null == kpa || null == kpe || !kpe.Encrypted)
|
||||
return input;
|
||||
return new CryptoStream (input, new KcapTransform(kpa.KeyTable), CryptoStreamMode.Read);
|
||||
return new InputCryptoStream (input, new KcapTransform(kpa.KeyTable));
|
||||
}
|
||||
|
||||
public static string GetPassPhrase (string title)
|
||||
|
||||
Reference in New Issue
Block a user