C# Класс RocksmithToolkitLib.PsarcLoader.RijndaelEncryptor

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
PsarcKey byte[]

Открытые методы

Метод Описание
DecryptFile ( Stream input, Stream output, byte key ) : void
DecryptPSARC ( Stream input, Stream output, long len ) : void
EncryptFile ( Stream input, Stream output, byte key ) : void
EncryptPSARC ( Stream input, Stream output, long len ) : void
Unzip ( Stream str, Stream outStream, bool rewind = true ) : void

Unpacks zipped data.

Unzip ( byte array, Stream outStream, bool rewind = true ) : void
Zip ( Stream str, Stream outStream, long plainLen, bool rewind = true ) : long
Zip ( byte array, Stream outStream, long plainLen, bool rewind = true ) : long

Приватные методы

Метод Описание
Crypto ( Stream input, Stream output, ICryptoTransform transform, long len ) : void
InitRijndael ( Rijndael rij, byte key, CipherMode cipher ) : void

Описание методов

DecryptFile() публичный статический Метод

public static DecryptFile ( Stream input, Stream output, byte key ) : void
input Stream
output Stream
key byte
Результат void

DecryptPSARC() публичный статический Метод

public static DecryptPSARC ( Stream input, Stream output, long len ) : void
input Stream
output Stream
len long
Результат void

EncryptFile() публичный статический Метод

public static EncryptFile ( Stream input, Stream output, byte key ) : void
input Stream
output Stream
key byte
Результат void

EncryptPSARC() публичный статический Метод

public static EncryptPSARC ( Stream input, Stream output, long len ) : void
input Stream
output Stream
len long
Результат void

Unzip() публичный статический Метод

Unpacks zipped data.
public static Unzip ( Stream str, Stream outStream, bool rewind = true ) : void
str Stream In Stream.
outStream Stream Out stream.
rewind bool Manual control for stream seek position.
Результат void

Unzip() публичный статический Метод

public static Unzip ( byte array, Stream outStream, bool rewind = true ) : void
array byte
outStream Stream
rewind bool
Результат void

Zip() публичный статический Метод

public static Zip ( Stream str, Stream outStream, long plainLen, bool rewind = true ) : long
str Stream
outStream Stream
plainLen long
rewind bool
Результат long

Zip() публичный статический Метод

public static Zip ( byte array, Stream outStream, long plainLen, bool rewind = true ) : long
array byte
outStream Stream
plainLen long
rewind bool
Результат long

Описание свойств

PsarcKey публичное статическое свойство

public static byte[] PsarcKey
Результат byte[]