C# Class SimpleAES, MailClient

Datei anzeigen Open project: skuffe/MailClient Class Usage Examples

Public Methods

Method Description
ByteArrToString ( byte byteArr ) : string
Decrypt ( byte EncryptedValue ) : string
DecryptString ( string EncryptedString ) : string
Encrypt ( string TextValue ) : byte[]
EncryptToString ( string TextValue ) : string
GenerateEncryptionKey ( ) : byte[]
GenerateEncryptionVector ( ) : byte[]
SimpleAES ( ) : System
StrToByteArray ( string str ) : byte[]

Method Details

ByteArrToString() public method

public ByteArrToString ( byte byteArr ) : string
byteArr byte
return string

Decrypt() public method

public Decrypt ( byte EncryptedValue ) : string
EncryptedValue byte
return string

DecryptString() public method

public DecryptString ( string EncryptedString ) : string
EncryptedString string
return string

Encrypt() public method

public Encrypt ( string TextValue ) : byte[]
TextValue string
return byte[]

EncryptToString() public method

public EncryptToString ( string TextValue ) : string
TextValue string
return string

GenerateEncryptionKey() public static method

public static GenerateEncryptionKey ( ) : byte[]
return byte[]

GenerateEncryptionVector() public static method

public static GenerateEncryptionVector ( ) : byte[]
return byte[]

SimpleAES() public method

public SimpleAES ( ) : System
return System

StrToByteArray() public method

public StrToByteArray ( string str ) : byte[]
str string
return byte[]