C# 클래스 WcfSimpleTokenExample.Business.Hash

파일 보기 프로젝트 열기: candanbolukbas/Secure-Programming-Samples

공개 프로퍼티들

프로퍼티 타입 설명
DefaultEncoding System.Text.Encoding

공개 메소드들

메소드 설명
Compare ( string original, string hashString, HashType hashType = DefaultHashType, Encoding encoding = null ) : bool
Compare ( string original, string salt, string hashString, HashType hashType = DefaultHashType, Encoding encoding = null ) : bool
Get ( string text, HashAlgorithm algorithm, Encoding encoding = null ) : string
Get ( string text, HashType hashType = DefaultHashType, Encoding encoding = null ) : string
Get ( string text, string salt, HashType hashType = DefaultHashType, Encoding encoding = null ) : string

메소드 상세

Compare() 공개 정적인 메소드

public static Compare ( string original, string hashString, HashType hashType = DefaultHashType, Encoding encoding = null ) : bool
original string
hashString string
hashType HashType
encoding System.Text.Encoding
리턴 bool

Compare() 공개 정적인 메소드

public static Compare ( string original, string salt, string hashString, HashType hashType = DefaultHashType, Encoding encoding = null ) : bool
original string
salt string
hashString string
hashType HashType
encoding System.Text.Encoding
리턴 bool

Get() 공개 정적인 메소드

public static Get ( string text, HashAlgorithm algorithm, Encoding encoding = null ) : string
text string
algorithm System.Security.Cryptography.HashAlgorithm
encoding System.Text.Encoding
리턴 string

Get() 공개 정적인 메소드

public static Get ( string text, HashType hashType = DefaultHashType, Encoding encoding = null ) : string
text string
hashType HashType
encoding System.Text.Encoding
리턴 string

Get() 공개 정적인 메소드

public static Get ( string text, string salt, HashType hashType = DefaultHashType, Encoding encoding = null ) : string
text string
salt string
hashType HashType
encoding System.Text.Encoding
리턴 string

프로퍼티 상세

DefaultEncoding 공개적으로 정적으로 프로퍼티

public static Encoding,System.Text DefaultEncoding
리턴 System.Text.Encoding