다음을 통해 공유


MD5CryptoServiceProvider.HashCore 메서드

개체에 쓰여진 데이터의 경로를 해시 값을 계산할 MD5 해시 알고리즘에 지정합니다.

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

구문

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

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

매개 변수

  • rgb
    데이터 배열(바이트)입니다.
  • ibStart
    데이터 사용을 시작할 바이트 배열의 오프셋입니다.
  • cbSize
    데이터로 사용할 배열의 바이트 수입니다.

예외

예외 형식 조건

CryptographicException

CSP(암호화 서비스 공급자)를 가져올 수 없는 경우

- 또는 -

해시를 만들 수 없는 경우

설명

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

플랫폼

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

1.0에서 지원

참고 항목

참조

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

기타 리소스

암호화 서비스