C# Класс NContrib.Extensions.StringCryptographyExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

HMACMD5() публичный статический Метод

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
Результат string

HMACMD5() публичный статический Метод

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
Результат string

MD5() публичный статический Метод

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
Результат string

MD5() публичный статический Метод

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
Результат string

SHA1() публичный статический Метод

Creates a lower-case SHA1 hash of the input string using the default system encoding
public static SHA1 ( this data ) : string
data this
Результат string

SHA1() публичный статический Метод

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
Результат string