C# Class TwitNetBuilder.Util.Encryption.SimpleAES

Afficher le fichier Open project: jesusspork/TwitNet

Méthodes publiques

Свойство Type Description
Key byte[]

Méthodes publiques

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

AES Class

StrToByteArray ( string str ) : byte[]

Private Methods

Méthode Description
getRandNum ( int length ) : string

Return a string of random chars

Method Details

ByteArrToString() public méthode

public ByteArrToString ( byte byteArr ) : string
byteArr byte
Résultat string

Decrypt() public méthode

public Decrypt ( byte EncryptedValue ) : string
EncryptedValue byte
Résultat string

DecryptString() public méthode

public DecryptString ( string EncryptedString ) : string
EncryptedString string
Résultat string

Encrypt() public méthode

public Encrypt ( string TextValue ) : byte[]
TextValue string
Résultat byte[]

EncryptToString() public méthode

public EncryptToString ( string TextValue ) : string
TextValue string
Résultat string

GenerateEncryptionKey() public static méthode

public static GenerateEncryptionKey ( ) : byte[]
Résultat byte[]

GenerateEncryptionVector() public static méthode

public static GenerateEncryptionVector ( ) : byte[]
Résultat byte[]

SimpleAES() public méthode

AES Class
public SimpleAES ( ) : System
Résultat System

StrToByteArray() public méthode

public StrToByteArray ( string str ) : byte[]
str string
Résultat byte[]

Property Details

Key public_oe property

public byte[] Key
Résultat byte[]