C# 클래스 modauthtkt.HashHelper

파일 보기 프로젝트 열기: AppliedIS/csharp_auth_tkt

공개 메소드들

메소드 설명
Hash ( string text, HashAlgorithm hasher, Encoding encoder = null ) : string

Creates a hash string using the specified hash methodology.

Default encoding is ISO-8859-1

Hash ( string text, HashType hashType, Encoding encoder = null ) : string

Creates a hash string using the specified hash methodology.

Default encoding is ISO-8859-1

비공개 메소드들

메소드 설명
BytesToString ( IEnumerable bytes ) : string

메소드 상세

Hash() 공개 정적인 메소드

Creates a hash string using the specified hash methodology.
Default encoding is ISO-8859-1
public static Hash ( string text, HashAlgorithm hasher, Encoding encoder = null ) : string
text string String to be hashed
hasher System.Security.Cryptography.HashAlgorithm Hash algorithm with which to perform the hash
encoder System.Text.Encoding (Optional) Character encoding for converting the text string to bytes
리턴 string

Hash() 공개 정적인 메소드

Creates a hash string using the specified hash methodology.
Default encoding is ISO-8859-1
public static Hash ( string text, HashType hashType, Encoding encoder = null ) : string
text string String to be hashed
hashType HashType Type of hashing to perform
encoder System.Text.Encoding (Optional) Character encoding for converting the text string to bytes
리턴 string