C# Class Gwupe.Common.Security.Util

Afficher le fichier Open project: gwupe/Gwupe

Méthodes publiques

Méthode Description
AesDecryptBytes ( byte encryptedPlusIv, int offset, int length, byte encryptionKey ) : byte[]
AesEncryptBytes ( byte source, int offset, int length, byte encryptionKey ) : byte[]
generateString ( int size ) : String
getMD5Hash ( byte data, int offset, int count ) : String
getSingleton ( ) : Util
hashPassword ( string password, string token = "" ) : String

Private Methods

Méthode Description
Util ( ) : System

Method Details

AesDecryptBytes() public méthode

public AesDecryptBytes ( byte encryptedPlusIv, int offset, int length, byte encryptionKey ) : byte[]
encryptedPlusIv byte
offset int
length int
encryptionKey byte
Résultat byte[]

AesEncryptBytes() public méthode

public AesEncryptBytes ( byte source, int offset, int length, byte encryptionKey ) : byte[]
source byte
offset int
length int
encryptionKey byte
Résultat byte[]

generateString() public méthode

public generateString ( int size ) : String
size int
Résultat String

getMD5Hash() public méthode

public getMD5Hash ( byte data, int offset, int count ) : String
data byte
offset int
count int
Résultat String

getSingleton() public static méthode

public static getSingleton ( ) : Util
Résultat Util

hashPassword() public méthode

public hashPassword ( string password, string token = "" ) : String
password string
token string
Résultat String