C# Class AesEncryptor, TapBand

Afficher le fichier Open project: minimalgeek/TapBand Class Usage Examples

Méthodes publiques

Méthode Description
Decrypt ( byte buffer ) : byte[]
DecryptBool ( byte encrypted ) : bool
DecryptBool ( string encrypted ) : bool
DecryptChar ( byte encrypted ) : char
DecryptChar ( string encrypted ) : char
DecryptDouble ( byte encrypted ) : double
DecryptDouble ( string encrypted ) : double
DecryptFloat ( byte encrypted ) : float
DecryptFloat ( string encrypted ) : float
DecryptIV ( byte buffer, byte IV ) : byte[]
DecryptIV ( string encrypted, byte vector ) : string
DecryptInt ( byte encrypted ) : int
DecryptInt ( string encrypted ) : int
DecryptKeyIV ( byte buffer, byte key, byte IV ) : byte[]
DecryptLong ( byte encrypted ) : long
DecryptLong ( string encrypted ) : long
DecryptShort ( byte encrypted ) : short
DecryptShort ( string encrypted ) : short
DecryptString ( byte encrypted ) : string
DecryptString ( string encrypted ) : string
DecryptUInt ( byte encrypted ) : uint
DecryptUInt ( string encrypted ) : uint
DecryptULong ( byte encrypted ) : ulong
DecryptULong ( string encrypted ) : ulong
DecryptUShort ( byte encrypted ) : ushort
DecryptUShort ( string encrypted ) : ushort
Encrypt ( byte buffer ) : byte[]
Encrypt ( bool unencrypted ) : string
Encrypt ( char unencrypted ) : string
Encrypt ( double unencrypted ) : string
Encrypt ( float unencrypted ) : string
Encrypt ( int unencrypted ) : string
Encrypt ( long unencrypted ) : string
Encrypt ( short unencrypted ) : string
Encrypt ( string unencrypted ) : string
Encrypt ( uint unencrypted ) : string
Encrypt ( ulong unencrypted ) : string
Encrypt ( ushort unencrypted ) : string
EncryptIV ( byte buffer, byte IV ) : byte[]
EncryptIV ( string unencrypted, byte vector ) : string
EncryptKeyIV ( byte buffer, byte key, byte IV ) : byte[]
GenerateIV ( ) : byte[]

Private Methods

Méthode Description
AesEncryptor ( ) : System

Method Details

Decrypt() public static méthode

public static Decrypt ( byte buffer ) : byte[]
buffer byte
Résultat byte[]

DecryptBool() public static méthode

public static DecryptBool ( byte encrypted ) : bool
encrypted byte
Résultat bool

DecryptBool() public static méthode

public static DecryptBool ( string encrypted ) : bool
encrypted string
Résultat bool

DecryptChar() public static méthode

public static DecryptChar ( byte encrypted ) : char
encrypted byte
Résultat char

DecryptChar() public static méthode

public static DecryptChar ( string encrypted ) : char
encrypted string
Résultat char

DecryptDouble() public static méthode

public static DecryptDouble ( byte encrypted ) : double
encrypted byte
Résultat double

DecryptDouble() public static méthode

public static DecryptDouble ( string encrypted ) : double
encrypted string
Résultat double

DecryptFloat() public static méthode

public static DecryptFloat ( byte encrypted ) : float
encrypted byte
Résultat float

DecryptFloat() public static méthode

public static DecryptFloat ( string encrypted ) : float
encrypted string
Résultat float

DecryptIV() public static méthode

public static DecryptIV ( byte buffer, byte IV ) : byte[]
buffer byte
IV byte
Résultat byte[]

DecryptIV() public static méthode

public static DecryptIV ( string encrypted, byte vector ) : string
encrypted string
vector byte
Résultat string

DecryptInt() public static méthode

public static DecryptInt ( byte encrypted ) : int
encrypted byte
Résultat int

DecryptInt() public static méthode

public static DecryptInt ( string encrypted ) : int
encrypted string
Résultat int

DecryptKeyIV() public static méthode

public static DecryptKeyIV ( byte buffer, byte key, byte IV ) : byte[]
buffer byte
key byte
IV byte
Résultat byte[]

DecryptLong() public static méthode

public static DecryptLong ( byte encrypted ) : long
encrypted byte
Résultat long

DecryptLong() public static méthode

public static DecryptLong ( string encrypted ) : long
encrypted string
Résultat long

DecryptShort() public static méthode

public static DecryptShort ( byte encrypted ) : short
encrypted byte
Résultat short

DecryptShort() public static méthode

public static DecryptShort ( string encrypted ) : short
encrypted string
Résultat short

DecryptString() public static méthode

public static DecryptString ( byte encrypted ) : string
encrypted byte
Résultat string

DecryptString() public static méthode

public static DecryptString ( string encrypted ) : string
encrypted string
Résultat string

DecryptUInt() public static méthode

public static DecryptUInt ( byte encrypted ) : uint
encrypted byte
Résultat uint

DecryptUInt() public static méthode

public static DecryptUInt ( string encrypted ) : uint
encrypted string
Résultat uint

DecryptULong() public static méthode

public static DecryptULong ( byte encrypted ) : ulong
encrypted byte
Résultat ulong

DecryptULong() public static méthode

public static DecryptULong ( string encrypted ) : ulong
encrypted string
Résultat ulong

DecryptUShort() public static méthode

public static DecryptUShort ( byte encrypted ) : ushort
encrypted byte
Résultat ushort

DecryptUShort() public static méthode

public static DecryptUShort ( string encrypted ) : ushort
encrypted string
Résultat ushort

Encrypt() public static méthode

public static Encrypt ( byte buffer ) : byte[]
buffer byte
Résultat byte[]

Encrypt() public static méthode

public static Encrypt ( bool unencrypted ) : string
unencrypted bool
Résultat string

Encrypt() public static méthode

public static Encrypt ( char unencrypted ) : string
unencrypted char
Résultat string

Encrypt() public static méthode

public static Encrypt ( double unencrypted ) : string
unencrypted double
Résultat string

Encrypt() public static méthode

public static Encrypt ( float unencrypted ) : string
unencrypted float
Résultat string

Encrypt() public static méthode

public static Encrypt ( int unencrypted ) : string
unencrypted int
Résultat string

Encrypt() public static méthode

public static Encrypt ( long unencrypted ) : string
unencrypted long
Résultat string

Encrypt() public static méthode

public static Encrypt ( short unencrypted ) : string
unencrypted short
Résultat string

Encrypt() public static méthode

public static Encrypt ( string unencrypted ) : string
unencrypted string
Résultat string

Encrypt() public static méthode

public static Encrypt ( uint unencrypted ) : string
unencrypted uint
Résultat string

Encrypt() public static méthode

public static Encrypt ( ulong unencrypted ) : string
unencrypted ulong
Résultat string

Encrypt() public static méthode

public static Encrypt ( ushort unencrypted ) : string
unencrypted ushort
Résultat string

EncryptIV() public static méthode

public static EncryptIV ( byte buffer, byte IV ) : byte[]
buffer byte
IV byte
Résultat byte[]

EncryptIV() public static méthode

public static EncryptIV ( string unencrypted, byte vector ) : string
unencrypted string
vector byte
Résultat string

EncryptKeyIV() public static méthode

public static EncryptKeyIV ( byte buffer, byte key, byte IV ) : byte[]
buffer byte
key byte
IV byte
Résultat byte[]

GenerateIV() public static méthode

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