C# 클래스 NContrib.Extensions.StringCryptographyExtensions

파일 보기 프로젝트 열기: veracross/ncontrib

공개 메소드들

메소드 설명
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