SHA512Managed.HashCore(Byte[], Int32, Int32) 메서드

정의

파생 클래스에서 재정의되는 경우 해시를 계산하기 위해 개체에 기록된 데이터를 해시 알고리즘으로 SHA512Managed 라우팅합니다.

protected:
 override void HashCore(cli::array <System::Byte> ^ array, int ibStart, int cbSize);
protected:
 override void HashCore(cli::array <System::Byte> ^ rgb, int ibStart, int cbSize);
protected override sealed void HashCore(byte[] array, int ibStart, int cbSize);
protected override void HashCore(byte[] rgb, int ibStart, int cbSize);
override this.HashCore : byte[] * int * int -> unit
override this.HashCore : byte[] * int * int -> unit
Protected Overrides NotOverridable Sub HashCore (array As Byte(), ibStart As Integer, cbSize As Integer)
Protected Overrides Sub HashCore (rgb As Byte(), ibStart As Integer, cbSize As Integer)

매개 변수

arrayrgb
Byte[]

입력 데이터입니다.

ibStart
Int32

데이터 사용을 시작할 바이트 배열의 오프셋입니다.

cbSize
Int32

데이터로 사용할 배열의 바이트 수입니다.

설명

이 메서드는 애플리케이션 코드에서 호출되지 않습니다.

이 추상 메서드는 해시 계산을 수행합니다. 암호화 스트림 개체에 대한 모든 쓰기는 이 메서드를 통해 데이터를 전달합니다. 각 데이터 블록에 대해 이 메서드는 해시 개체의 상태를 업데이트하므로 데이터 스트림의 끝에 올바른 해시 값이 반환됩니다.

적용 대상

추가 정보