IncrementalHash.GetHashAndReset 메서드

정의

오버로드

GetHashAndReset()

AppendData 메서드에 대한 이전 호출에서 누적된 데이터의 해시 또는 HMAC(해시 기반 메시지 인증 코드)를 검색하고 개체를 초기 상태로 다시 설정합니다.

GetHashAndReset(Span<Byte>)

AppendData(ReadOnlySpan<Byte>) 메서드에 대한 이전 호출에서 누적된 데이터의 해시 또는 HMAC(해시 기반 메시지 인증 코드)를 검색하고 개체를 초기 상태로 다시 설정합니다.

GetHashAndReset()

Source:
IncrementalHash.cs
Source:
IncrementalHash.cs
Source:
IncrementalHash.cs

AppendData 메서드에 대한 이전 호출에서 누적된 데이터의 해시 또는 HMAC(해시 기반 메시지 인증 코드)를 검색하고 개체를 초기 상태로 다시 설정합니다.

public:
 cli::array <System::Byte> ^ GetHashAndReset();
public byte[] GetHashAndReset ();
member this.GetHashAndReset : unit -> byte[]
Public Function GetHashAndReset () As Byte()

반환

Byte[]

계산된 해시 또는 HMAC입니다.

예외

IncrementalHash 개체가 이미 삭제되었습니다.

적용 대상

GetHashAndReset(Span<Byte>)

Source:
IncrementalHash.cs
Source:
IncrementalHash.cs
Source:
IncrementalHash.cs

AppendData(ReadOnlySpan<Byte>) 메서드에 대한 이전 호출에서 누적된 데이터의 해시 또는 HMAC(해시 기반 메시지 인증 코드)를 검색하고 개체를 초기 상태로 다시 설정합니다.

public:
 int GetHashAndReset(Span<System::Byte> destination);
public int GetHashAndReset (Span<byte> destination);
member this.GetHashAndReset : Span<byte> -> int
Public Function GetHashAndReset (destination As Span(Of Byte)) As Integer

매개 변수

destination
Span<Byte>

해시 또는 HMAC 값을 받을 버퍼입니다.

반환

destination에 쓰인 바이트 수입니다.

예외

destinationLength 값이 HashLengthInBytes보다 작습니다.

개체가 이미 삭제되었습니다.

적용 대상