C# 클래스 System.Security.Cryptography.HashAlgorithm

상속: IDisposable, ICryptoTransform
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
HashValue byte[]
State int

공개 메소드들

메소드 설명
Clear ( ) : void
ComputeHash ( Stream inputStream ) : byte[]
ComputeHash ( byte buffer ) : byte[]
ComputeHash ( byte buffer, int offset, int count ) : byte[]
Create ( ) : HashAlgorithm
Create ( string hashName ) : HashAlgorithm
Dispose ( ) : void
Initialize ( ) : void
TransformBlock ( byte inputBuffer, int inputOffset, int inputCount, byte outputBuffer, int outputOffset ) : int
TransformFinalBlock ( byte inputBuffer, int inputOffset, int inputCount ) : byte[]

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
HashAlgorithm ( ) : System.IO
HashCore ( byte array, int ibStart, int cbSize ) : void
HashFinal ( ) : byte[]

비공개 메소드들

메소드 설명
CaptureHashCodeAndReinitialize ( ) : byte[]
ValidateTransformBlock ( byte inputBuffer, int inputOffset, int inputCount ) : void

메소드 상세

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

ComputeHash() 공개 메소드

public ComputeHash ( Stream inputStream ) : byte[]
inputStream System.IO.Stream
리턴 byte[]

ComputeHash() 공개 메소드

public ComputeHash ( byte buffer ) : byte[]
buffer byte
리턴 byte[]

ComputeHash() 공개 메소드

public ComputeHash ( byte buffer, int offset, int count ) : byte[]
buffer byte
offset int
count int
리턴 byte[]

Create() 공개 정적인 메소드

public static Create ( ) : HashAlgorithm
리턴 HashAlgorithm

Create() 공개 정적인 메소드

public static Create ( string hashName ) : HashAlgorithm
hashName string
리턴 HashAlgorithm

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

HashAlgorithm() 보호된 메소드

protected HashAlgorithm ( ) : System.IO
리턴 System.IO

HashCore() 보호된 추상적인 메소드

protected abstract HashCore ( byte array, int ibStart, int cbSize ) : void
array byte
ibStart int
cbSize int
리턴 void

HashFinal() 보호된 추상적인 메소드

protected abstract HashFinal ( ) : byte[]
리턴 byte[]

Initialize() 공개 추상적인 메소드

public abstract Initialize ( ) : void
리턴 void

TransformBlock() 공개 메소드

public TransformBlock ( byte inputBuffer, int inputOffset, int inputCount, byte outputBuffer, int outputOffset ) : int
inputBuffer byte
inputOffset int
inputCount int
outputBuffer byte
outputOffset int
리턴 int

TransformFinalBlock() 공개 메소드

public TransformFinalBlock ( byte inputBuffer, int inputOffset, int inputCount ) : byte[]
inputBuffer byte
inputOffset int
inputCount int
리턴 byte[]

프로퍼티 상세

HashValue 보호되어 있는 프로퍼티

protected byte[] HashValue
리턴 byte[]

State 보호되어 있는 프로퍼티

protected int State
리턴 int