C# 클래스 DarthEncrypt, Socks5

파일 보기 프로젝트 열기: ThrDev/Socks5 1 사용 예제들

Private Properties

프로퍼티 타입 설명
DoTransformFile void
EncryptString string
InitializeComponent void

공개 메소드들

메소드 설명
CompressBytes ( byte bytes, int offset, int count ) : byte[]
DarthEncrypt ( ) : System
DecompressBytes ( byte compressed ) : byte[]
DecryptBytes ( byte encryptedBytes ) : byte[]
DecryptFile ( string inFile ) : void

Decrypt files using Rijandel-128 bit managed encryption

Decrypts files

DecryptFile ( string inFile, string outFileName ) : void

Decrypt files using Rijandel-128 bit managed encryption

DecryptFile ( string inFile, string outFileName, string outDirectory ) : void

Decrypt files using Rijandel-128 bit managed encryption

DecryptString ( string encryptedText ) : string

Decrypts encrypted text using Rijandel-128 bit managed encryption

Decrypts text

EncryptBytes ( byte bytearray ) : byte[]
EncryptFile ( string inFile ) : void

Encrypts file

EncryptFile ( string inFile, string outFileName ) : void

Encrypts file

EncryptFile ( string inFile, string outFileName, string outDirectory ) : void

Encrypts file

비공개 메소드들

메소드 설명
DoTransformFile ( string inFile, TransformType, aType, string newFileName, string alternativeDirectory ) : void
EncryptString ( string plainText ) : string
InitializeComponent ( ) : void

메소드 상세

CompressBytes() 공개 메소드

public CompressBytes ( byte bytes, int offset, int count ) : byte[]
bytes byte
offset int
count int
리턴 byte[]

DarthEncrypt() 공개 메소드

public DarthEncrypt ( ) : System
리턴 System

DecompressBytes() 공개 메소드

public DecompressBytes ( byte compressed ) : byte[]
compressed byte
리턴 byte[]

DecryptBytes() 공개 메소드

public DecryptBytes ( byte encryptedBytes ) : byte[]
encryptedBytes byte
리턴 byte[]

DecryptFile() 공개 메소드

Decrypt files using Rijandel-128 bit managed encryption
Decrypts files
public DecryptFile ( string inFile ) : void
inFile string The filename
리턴 void

DecryptFile() 공개 메소드

Decrypt files using Rijandel-128 bit managed encryption
public DecryptFile ( string inFile, string outFileName ) : void
inFile string The filename
outFileName string Filename to output as (Only in local directory)
리턴 void

DecryptFile() 공개 메소드

Decrypt files using Rijandel-128 bit managed encryption
public DecryptFile ( string inFile, string outFileName, string outDirectory ) : void
inFile string The filename
outFileName string Filename to output as
outDirectory string Directory to output file to
리턴 void

DecryptString() 공개 메소드

Decrypts encrypted text using Rijandel-128 bit managed encryption
Decrypts text
public DecryptString ( string encryptedText ) : string
encryptedText string The text to decrypt
리턴 string

EncryptBytes() 공개 메소드

public EncryptBytes ( byte bytearray ) : byte[]
bytearray byte
리턴 byte[]

EncryptFile() 공개 메소드

Encrypts file
public EncryptFile ( string inFile ) : void
inFile string The file path of original file
리턴 void

EncryptFile() 공개 메소드

Encrypts file
public EncryptFile ( string inFile, string outFileName ) : void
inFile string The file path of the original file
outFileName string Filename to output as
리턴 void

EncryptFile() 공개 메소드

Encrypts file
public EncryptFile ( string inFile, string outFileName, string outDirectory ) : void
inFile string The file path of the original file
outFileName string Filename to output as
outDirectory string Directory to output file
리턴 void