IncrementalHash.TryGetHashAndReset(Span<Byte>, Int32) 메서드

정의

해시 알고리즘에서 마지막 데이터를 처리한 후 해시 계산을 완료하려고 시도합니다.

public:
 bool TryGetHashAndReset(Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten);
public bool TryGetHashAndReset(Span<byte> destination, out int bytesWritten);
member this.TryGetHashAndReset : Span<byte> * int -> bool
Public Function TryGetHashAndReset (destination As Span(Of Byte), ByRef bytesWritten As Integer) As Boolean

매개 변수

destination
Span<Byte>

해시 또는 Hash-Based HMAC(메시지 인증 코드) 값을 받을 버퍼입니다.

bytesWritten
Int32

이 메서드가 반환되면 .에 destination기록된 총 바이트 수를 포함합니다. 이 매개 변수는 초기화되지 않은 것으로 처리됩니다.

반품

해시 또는 HMAC 값을 받을 수 있을 만큼 길면 /&입니다. 그렇지 않으면 .

예외

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

적용 대상