C# 클래스 RocksmithToolkitLib.PsarcLoader.RijndaelEncryptor

파일 보기 프로젝트 열기: rscustom/rocksmith-custom-song-toolkit 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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[]