C# Класс DarthEncrypt, Socks5

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

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