다음을 통해 공유


HashAlgorithm.HashCore 메서드

파생 클래스에 재정의된 경우 개체에 쓰여진 데이터의 경로를 해시를 계산할 해시 알고리즘에 지정합니다.

네임스페이스: System.Security.Cryptography
어셈블리: mscorlib(mscorlib.dll)

구문

‘선언
Protected MustOverride Sub HashCore ( _
    array As Byte(), _
    ibStart As Integer, _
    cbSize As Integer _
)
‘사용 방법
Dim array As Byte()
Dim ibStart As Integer
Dim cbSize As Integer

Me.HashCore(array, ibStart, cbSize)
protected abstract void HashCore (
    byte[] array,
    int ibStart,
    int cbSize
)
protected:
virtual void HashCore (
    array<unsigned char>^ array, 
    int ibStart, 
    int cbSize
) abstract
protected abstract void HashCore (
    byte[] array, 
    int ibStart, 
    int cbSize
)
protected abstract function HashCore (
    array : byte[], 
    ibStart : int, 
    cbSize : int
)

매개 변수

  • array
    해시 코드를 계산할 입력입니다.
  • ibStart
    데이터 사용을 시작할 바이트 배열의 오프셋입니다.
  • cbSize
    데이터로 사용할 바이트 배열의 바이트 수입니다.

설명

응용 프로그램 코드에서는 이 메서드가 직접 호출되지 않습니다.

추상 메서드에서 해시 계산을 수행합니다. 암호화 스트림 개체에 쓸 때에는 모두 이 메서드를 통해 데이터를 전달합니다. 각 데이터 블록에 대해 이 메서드는 해시 개체의 상태를 업데이트하여 올바른 해시 값이 데이터 스트림의 끝에 반환되도록 합니다.

플랫폼

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework에서 모든 플래폼의 모든 버전을 지원하지는 않습니다. 지원되는 버전의 목록은 시스템 요구 사항을 참조하십시오.

버전 정보

.NET Framework

2.0, 1.1, 1.0에서 지원

.NET Compact Framework

2.0에서 지원

참고 항목

참조

HashAlgorithm 클래스
HashAlgorithm 멤버
System.Security.Cryptography 네임스페이스

기타 리소스

암호화 서비스