C# Class NContrib.Extensions.StringCryptographyExtensions

Afficher le fichier Open project: veracross/ncontrib

Méthodes publiques

Méthode Description
HMACMD5 ( this data, string key ) : string

Creates an HMAC-MD5 fingerprint of the given data with the given key using default encoding

HMACMD5 ( this data, string key, Encoding enc ) : string

Creates an HMAC-MD5 fingerprint of the given data with the given key using the specified encoding

MD5 ( this input ) : string

Creates an all lower-case hex MD5 hash of the input string using the default system encoding

MD5 ( this input, Encoding enc ) : string

Creates an all lower-case hex MD5 hash of the input string using the specified encoding

SHA1 ( this data ) : string

Creates a lower-case SHA1 hash of the input string using the default system encoding

SHA1 ( this input, Encoding enc ) : string

Creates a lower-case SHA1 hash of the input string using the specified encoding

Method Details

HMACMD5() public static méthode

Creates an HMAC-MD5 fingerprint of the given data with the given key using default encoding
public static HMACMD5 ( this data, string key ) : string
data this
key string
Résultat string

HMACMD5() public static méthode

Creates an HMAC-MD5 fingerprint of the given data with the given key using the specified encoding
public static HMACMD5 ( this data, string key, Encoding enc ) : string
data this
key string
enc System.Text.Encoding
Résultat string

MD5() public static méthode

Creates an all lower-case hex MD5 hash of the input string using the default system encoding
public static MD5 ( this input ) : string
input this
Résultat string

MD5() public static méthode

Creates an all lower-case hex MD5 hash of the input string using the specified encoding
public static MD5 ( this input, Encoding enc ) : string
input this
enc System.Text.Encoding
Résultat string

SHA1() public static méthode

Creates a lower-case SHA1 hash of the input string using the default system encoding
public static SHA1 ( this data ) : string
data this
Résultat string

SHA1() public static méthode

Creates a lower-case SHA1 hash of the input string using the specified encoding
public static SHA1 ( this input, Encoding enc ) : string
input this
enc System.Text.Encoding
Résultat string