C# 클래스 OpenStory.Cryptography.CustomCrypto

Provides encryption and decryption static methods for the MapleStory custom data transformation.
파일 보기 프로젝트 열기: shoftee/OpenStory 1 사용 예제들

공개 메소드들

메소드 설명
Decrypt ( byte data ) : void

Decrypts an array in-place.

The array given in data will be modified.

Encrypt ( byte data ) : void

Encrypts an array in-place.

The array given in data will be modified.

비공개 메소드들

메소드 설명
EvenDecryptTransform ( byte data, int length, byte lengthByte ) : void

Performs the decryption transform for the even case.

EvenEncryptTransform ( byte data, int length, byte lengthByte ) : void

Performs the encryption transform for the even case.

OddDecryptTransform ( byte data, int length, byte lengthByte ) : void

Performs the decryption transform for the odd case.

OddEncryptTransform ( byte data, int length, byte lengthByte ) : void

Performs the encryption transform for the odd case.

RollLeft ( byte b, int count ) : byte

Performs a bit-wise left roll on a byte.

RollRight ( byte b, int count ) : byte

Performs a bit-wise right roll on a byte.

메소드 상세

Decrypt() 공개 정적인 메소드

Decrypts an array in-place.
The array given in data will be modified.
Thrown if is .
public static Decrypt ( byte data ) : void
data byte The array to decrypt.
리턴 void

Encrypt() 공개 정적인 메소드

Encrypts an array in-place.
The array given in data will be modified.
Thrown if is .
public static Encrypt ( byte data ) : void
data byte The array to encrypt.
리턴 void