C# Class DarthEncrypt, Socks5

Afficher le fichier Open project: ThrDev/Socks5 Class Usage Examples

Private Properties

Свойство Type Description
DoTransformFile void
EncryptString string
InitializeComponent void

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
DoTransformFile ( string inFile, TransformType, aType, string newFileName, string alternativeDirectory ) : void
EncryptString ( string plainText ) : string
InitializeComponent ( ) : void

Method Details

CompressBytes() public méthode

public CompressBytes ( byte bytes, int offset, int count ) : byte[]
bytes byte
offset int
count int
Résultat byte[]

DarthEncrypt() public méthode

public DarthEncrypt ( ) : System
Résultat System

DecompressBytes() public méthode

public DecompressBytes ( byte compressed ) : byte[]
compressed byte
Résultat byte[]

DecryptBytes() public méthode

public DecryptBytes ( byte encryptedBytes ) : byte[]
encryptedBytes byte
Résultat byte[]

DecryptFile() public méthode

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

DecryptFile() public méthode

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)
Résultat void

DecryptFile() public méthode

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
Résultat void

DecryptString() public méthode

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

EncryptBytes() public méthode

public EncryptBytes ( byte bytearray ) : byte[]
bytearray byte
Résultat byte[]

EncryptFile() public méthode

Encrypts file
public EncryptFile ( string inFile ) : void
inFile string The file path of original file
Résultat void

EncryptFile() public méthode

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

EncryptFile() public méthode

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
Résultat void